FYI (and "for the record") The answer of using the FD-name to qualify has already been supplied in comp.lang.cobol.
"dividby0" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi, > > I'm writing a COBOL program which accepts 5 KSDS files and extract > data into a single file. All the files are of the same type and have > same data fields with values from different sources. > > I am able to do this for 1 input file. But I'm having problems with > the Record Key Clause and FD for 5 files. > > Since the files have same struction I'm using" > > RECORD KEY IS NCB-D100 > > How can I do this for 5 files? > > And, I'm using a copybook for the FD: > > FD INP-FIL. > COPY BCBSECR. > > I want to use the same copybook for all the 5 files. > > Help required. > ---------------------------------------------------------------------- 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

