-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Peplinski Sent: Tuesday, November 13, 2007 1:49 PM To: [email protected] Subject: Re: SV: COBOL COPY statement w REPLACING...
On Wed, 7 Nov 2007 17:20:36 +0100, Thomas Berg <[EMAIL PROTECTED]> wrote: <SNIP> 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. <SNIP> Along those lines, I have created a second COPY that I have used against an 01 with REDEFINES. And that makes life a little easier. And when I got really energetic, I wrote a small program to build the new COPY based on reading the original COPY (but then, I was doing VSE to MVS migrations at the time). Regards, Steve Thompson ---------------------------------------------------------------------- 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

