Return spin data set specification - Key = 'C013'

Code DINRSPIN to request the return of the spin data set specification.

When you code DINRSPIN, # 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.

If there is a spin data set specification associated with the data set, the system returns 1 into LEN and one of the following into PARM:
X'80'
Data set available for printing when it is unallocated
X'40'
Data set available for printing at the end of the job
Example: To request the spin data set specification, code:
KEY    #     LEN   PARM
C013   0001  0001  -