Joined: 31 May 2006 Posts: 200 Location: Netherlands
As expat suggested generally you will have a field called record type in the input record which will tell you which layout needs to be used for that record. Check for that field and accordingly move the input record into respective layout.
Iam having an input file of variable format...it contains records of different length.I want to process the file(read and write) based on the length.
Strange but doable.
The llbb is reachable, but care must be used. Input and output records could be defined as ODO variables. A linkage section variable could be set as the address of the llbb of the input record. A working storage variable would be the object of the ODOs.