> -----Original Message-----
> From: Paul Peplinski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 13, 2007 2:49 PM
> To: [email protected]
> Subject: Re: SV: COBOL COPY statement w REPLACING...
<Snipped> 
> I do not know exactly what you need to do, but one possible solution -
> assuming an 01 data name with several 05, 10, etc.. - is to REPLACE the
> entire 01 data name and then use the OF clause to qualify every field
> access.

Yes, that is always an alternative.  For frequently-used fields though it
can be the proverbial PITA to have to change everything in the program to
use the "OF 01-level-name" format.  Possible but painful, and frequently
ugly.

> YMMV of course.

Indeed.  Depends quite heavily on the level of PITA involved as well.

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