But with that reasoning could you see any reason why RPG could not use the file ? But it can't. The reason RPG can't use the file is because non-join LF's defined with a record format based on multiple PF's yields a duplicate format name problem. The compile will fail. Since the LF itself is defined with duplicate format names the problem can not be resoved via overrides or format renames in the RPG. It is not clear to me that a COBOL program can be written to use such a file, as defined in the examples. I would really like to know. R RFILE1 PFILE(PF01 PF02) A K Field01 A K Field02 ----- Original Message ----- From: <Chris.Chambers@v2music.com> To: <COBOL400-L@midrange.com> Sent: Wednesday, May 24, 2000 6:35 AM Subject: Re: Non-Join Multi PF Logical File Format > So it merges the two physicals together? > > I see no reason that COBOL could'nt use it? > > Cheers, > > Chris > > > +--- > | This is the COBOL/400 Mailing List! > | To submit a new message, send your mail to COBOL400-L@midrange.com. > | To subscribe to this list send email to COBOL400-L-SUB@midrange.com. > | To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: firstname.lastname@example.org > +---END > > +--- | This is the COBOL/400 Mailing List! | To submit a new message, send your mail to COBOL400-L@midrange.com. | To subscribe to this list send email to COBOL400-L-SUB@midrange.com. | To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +---END
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.