There were several responses to my original question, (for which I am thankful), but they are nonetheless missing the mark. The example shown at the bottom of this message from Finucci Domenico is a typical non-join multi format LF where each format refers only to a single PF. This is not what I am interested in.
Consider the following example instead. Note that a single LF format is based on two PF's.
R RFILE1 PFILE(PF01 PF02)
A K Field01
A K Field02
Files such as the one I describe above must be defined such that all the fields in the LF must also exist in ALL based on PF's. My question is whether COBOL can compile and work with a file which is defined in this fashion. I know the file could be redefined as a join to circumvent the problem, but the question still stands.
----- Original Message -----
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.