On 09/19/2012 11:34 PM, Michael Anderson blathered:
> Yes nested copy's do work, however the REPLACING clause does not work.
> Worse (I think) COPY with REPLACING does not generate a compile error,
> but the replacement does not occur.
I was wrong
OpenCOBOL does support the COPY REPLACING! As well as nested COPY's
In my test I used
COPY "mycopymodule.cpy" replacing "ABC" by "XYZ"
no replacing occured!
and, using the quotes didn't generate a compile error.
but
COPY "mycopymodule.cpy" replacing ==ABC== by ==XYZ==
that worked.
I guess I need to brush-up on my COBOL. ;-)
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *