Fw: Copy replacing without pseudo code

2007-12-03 Thread Bill Klein
You still aren't using COBOL terminology correctly, but that doesn't really matter. I have posted code that will support some applications doing partial word replacement while others do not. However, if you want to do partial word replacement - when the copy members are NOT correctly set up (and

Re: Fw: Copy replacing without pseudo code

2007-12-03 Thread Don Leahy
You are absolutely right, but this issue keeps coming up because the behaviour of the compiler in this instance isn't exactly 'intuitive'. I'll bet that 9 out of 10 programmers who read the manual come away with the impression that COPY REPLACING is a string replacement function and are very

Re: Fw: Copy replacing without pseudo code

2007-12-03 Thread Clark F Morris
On 3 Dec 2007 05:54:20 -0800, in bit.listserv.ibm-main you wrote: You are absolutely right, but this issue keeps coming up because the behaviour of the compiler in this instance isn't exactly 'intuitive'. I'll bet that 9 out of 10 programmers who read the manual come away with the impression

Fw: Copy replacing without pseudo code

2007-12-02 Thread Bill Klein
your use of pseudocode confused me. I think you mean pseudo-text. (The COBOL term for a cobol text word). I gave this solution just recently. Let's say that you have (today) a copybook called ABC which has 01 WS-Group. 05 WS-Field1 Pic X. 05 WS-Field2 Pic 9. You want SOME