Return dsname specification - Key = '0005'

Code DINRTDSN to request the return of the dsname of the specified allocation. When you code this key, # must be one, LEN must be at least the length of the dsname, and can be longer, up to a maximum of 255 characters. The PARM field must be the length specified by the value in LEN. Upon return to your program, PARM will contain the dsname and LEN will be set to its length.

Example: To request that the dsname be returned, code:
KEY    #      LEN    PARM
0005   0001   002C   --------