GSAM records can be
-
Only fixed length record
-
only variable length record
-
both fixed length and variable length records
-
only specified length record
GSAM supports both fixed-length and variable-length record formats. This flexibility allows it to handle different data storage requirements while maintaining sequential access capabilities.
GSAM (Generalized Sequential Access Method) is a mainframe access method used mainly to let IMS batch programs read/write plain sequential OS files alongside IMS databases. GSAM supports both fixed-length and variable-length records, matching whatever record format the underlying sequential file uses — it doesn't restrict you to only one format. So 'only fixed length,' 'only variable length,' and 'only specified length' are all too narrow; the correct, broader answer is that both formats are supported.