Joined: 14 Oct 2005 Posts: 1188 Location: Bangalore,India
For a VB data set, different records can have different lengths. The first four bytes of each record contain the Record Descriptor Word or RDW, and the first two bytes of the RDW contain the length of that record (in binary).
whether VSAM files first 4 bytes specify the length of that record
VSAM file is VARIABLE LENGTH.
No, they don't. VSAM files have their own organization different from QSAM files. QSAM VB records have the length stored in binary in the first two bytes of the record (within the four byte RDW). VSAM variable records have the length stored in an RDF, not at the start of the record.