Return record organization specification - Key = 'C00B'

DINRRECO requests the organization of the records in the specified VSAM data set. When you code DINRRECO, # must be 1, LEN must be at least 1 and can be longer, and the PARM field must be the length specified by the value in LEN.

The record organization is available only when the data set is first allocated (that is, when the data set has a disposition of NEW). If the record organization is available, the system returns the record organization into PARM. The system also returns 1 into the LEN field. The value returned in PARM is one of the following:
X'80'
VSAM key-sequenced data set (KS)
X'40'
VSAM entry-sequenced data set (ES)
X'20'
VSAM relative record data set (RR)
X'10'
VSAM linear space data set (LS)
Example: To determine how records are organized in the specified VSAM data set, code:
KEY    #      LEN    PARM
C00B   0001   0001   -