"Roy Brown" <[log in to unmask]> wrote
> BTW do we believe the REPLACE... REPLACING syntax of Example 2 for
REPLACE,
> which doesn't appear in the overall syntax specification for this
command,
> and doesn't seem to be explained at all clearly?
>
> I don't see how you use it......
Do you mean the example in the HP online Cobol Reference Manual? This
one?
------------------------------------------------------------------------
------------------
Assume the source program contains the following text before the
replacement:[REV END]
01 (FIRST)-RECORD PIC X(80).
[REV BEG]
After the following REPLACE statement[REV END]
REPLACE COPY-MODULE REPLACING ==(FIRST)== BY ==INPUT==.
the resultant text is:
01 INPUT-RECORD PIC X(80).
------------------------------------------------------------------------
---------------------
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *