Reputation: 1
Cobol Reference Manual (6.3), on page 526, affirms literally:
Comment lines, inline comments, or blank lines in pseudo-text-2 or partial-word-2 are copied into the resultant program unchanged whenever pseudo-text-2 or partial-word-2 is placed into the source text as a result of text replacement.
Is it possible to have an example of how to build such a pseudo-text?
Thank you.
Livio Felicella
Upvotes: 0
Views: 254
Reputation: 7297
COPY MYLIB REPLACING ==some words== by ==
* comment line
* after an empty line
DISPLAY 'DONE'. *> with inline comment
==.
Upvotes: 1