COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

before. If you put sections that most programs use in the front of the library and those that few
programs use at the end, compilation speed is improved.
Adding Source Text to a COPY Library
Since COPY libraries are files in the EDIT format or OSS ASCII files, you can add a section
of source text to a library by editing it. You can put a SECTION directive line and the source
text that follows it before, between, or after sections already in the library.
REPLACE Statement
REPLACE substitutes zero or more words of pseudo-text for one or more words of pseudo-text.
REPLACE
is a reserved word that cannot be split across source program lines.
pseudo-text-1
contains at least one text-word other than a comma or semicolon separator. A
character-string within pseudo-text-1 can continue on the next line, but both characters
of the pseudo-text delimiter (==) must be on the same line.
pseudo-text-2
can be null. A character-string within pseudo-text-2 can continue on the next line, but both
characters of the pseudo-text delimiter (==) must be on the same line.
text-word
is any character-string or separator except space. It cannot be a concatenation expression.
OFF
marks the end of the scope of replacement of the most recent REPLACE statement.
508 Source Text Manipulation