Hi 

I'm not 100% sure but try

01 Frog1 copy AMRMRL.
01 Frog2 copy AMRMRL. 

Of course you have to code field-name of Frog1 or field-name of Frog2.

Roland

>hi,
>
>I have a copybook AMRMRL for a file layout which has no pseudo code inside.
>I want to use this same copybook twice in the program for two different files.
>I coded the below syntax:
>
>COPY AMRMRL             REPLACING AMRM BY AMXX.
>COPY AMRMRL.
>
>but after compiler expansion the replacement did not happen and both the
>exopanded copybook had AMRM only. Such options are very much used in my
>system where other copybooks have pseudo code like :AMBS:-RECORD.
>

----------------------------------------------------------------------
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