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. Anyone please let me know an alternative to changing the whole copybook to put pseudo code of :AMRM:. Thanks, Amlan ---------------------------------------------------------------------- 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

