> -----Original Message-----
> From: Bill Klein [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 08, 2007 11:15 PM
> To: [email protected]
> Subject: COBOL COPY statement w REPLACING...
> 
> The documented (and functional) way to do partial replacement in current
> COBOL is documented at:
> 
> http://publibz.boulder.ibm.com/cgi-
> bin/bookmgr_OS390/BOOKS/igy3lr31/8.1.7.3

Yes, I am well aware of that method.  It requires changing the contents of
the copybook.  If I may quote my original situation:

"... where an older copybook did not have separators around the leading
prefix, so it could not be replaced."

IOW, this copybook does NOT have "tagged" prefix "words" for each variable,
just normal COBOL words.  The copybook can be used WITHOUT any REPLACING
strings.

I want to be able to use REPLACING for such a copybook WITHOUT modifying the
copybook (because I don't own it and am not allowed to change it).

Why can't we do such a simple thing?

Peter

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to