Return status specification - Key = '0007'

Code DINRTSTA to request the return of the data set status of the specified allocation. When you code this key, # and LEN must be one, and PARM is a one-byte field. Upon return to your program, the PARM field will contain one of the following values:
X'01'
OLD
X'02'
MOD
X'04'
NEW
X'08'
SHR
Example: To request that the status be returned, code:
KEY    #      LEN    PARM
0007   0001   0001   -