> -----Original Message-----
> From: Bill Klein [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 07, 2007 10:25 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Fw: COBOL COPY statement w REPLACING...
> 
> I assume (but could be mistaken) that you are trying to replace a "part of
> a string" rather than a COBOL "text word". Besides the fact that there are
> "work-arounds" for doing partial word replacement, you might be interested
> that the current ('02) standard DOES allow for replacing a "leading" or
> "trailing" part of a COBOL text word (but not the middle).  If you want
> this feature sooner than later (in IBM COBOL) you may want to submit a
> marketing REQUEST to IBM referencing the existing SHARE requirement for
> this facility.

Bill, would you please enlarge upon the "work-arounds" for partial word
replacement or point to a url where it is described?  I recently ran into
this myself, where an older copybook did not have separators around the
leading prefix, so it could not be replaced.

If there is a way to do this in current IBM COBOL technology (Enterprise
3.3) *without* updating the copybook, I'd sure like to know what it is.

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