Return first volume serial specification - Key = '0010'

Code DINRTVOL to request the return of the first volume serial number associated with a specified allocated data set. When you code DINRTVOL, # must be one, LEN must be at least the length of the volume serial number but no more than 6. The PARM field will be the length specified by the value in LEN. Upon return to your program, PARM will contain the requested volume serial number and LEN will be set to its length.

Example: To request the return of the first volume serial number code:
KEY    #      LEN    PARM
0010   0001   0006   --------