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
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
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
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
4 matches
Mail list logo