livio
livio

Reputation: 1

IBM Cobol 6.3 Copy Replacing with pseudo-text

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

Answers (1)

Simon Sobisch
Simon Sobisch

Reputation: 7297

       COPY MYLIB REPLACING ==some words== by ==
      * comment line

      * after an empty line
           DISPLAY 'DONE'. *> with inline comment
       ==.

Upvotes: 1

Related Questions