Several of our programs do a COPY ???? REPLACING 'XXX' BY IN.
When these programs are compiled the following error occurs.
CPBACH.cbl:199: Error: syntax error
Where line 198:199 is
01 IN-RECORD. COPY CPWWPOST REPLACING 'POST' BY IN.
This syntax works on both z/OS and MicroFocus.
I'm thinking that since IN is a resevered word, it is being checked for when doing the replacing. Although, in this situation, IN is never used by itself in any of the fields once the copybook is expanded.
Logged In: YES
user_id=1138256
Originator: NO
Duplicate of 1720197
Duplicate of [bugs:#23]
Related
Bugs:
#23Last edit: Simon Sobisch 2016-06-03