Return data set type specification - Key = 'C012'

Code DINRDSNT to request the return of the data set type.

When you code DINRDSNT, # must be 1 and LEN must be at least 1 and can be longer; the PARM field must be the length specified by the value in LEN. If a data set type specification is associated with the allocation, the system returns the data set type in PARM and 0001 in LEN. PARM will contain one of the following:
X'80'
Represents a library (PDSE).
X'40'
Represents a partitioned data set (PDS).
X'20'
Represents a FIFO special file (PIPE).
X'10'
Represents an HFS data set (HFS). This type of UNIX file system is different from a z/OS® File System (zFS) that resides in a linear data set.
X'08'
Represents an extended format required data set (EXTREQ).
X'04'
Represents an extended format preferred data set (EXTPREF).
X'02'
Represents a basic format data set (BASIC).
X'01'
Represents a large format data set (LARGE = greater than 65,535 tracks).
Example: To request the data set type, code:
KEY    #      LEN    PARM
C012   0001   0001   - - - ...
Note: For this text unit, the information specified by the user in JCL or via dynamic allocation text units is retrieved via the Scheduler JCL Facility (SJF). If the information was not available, no information will be returned.