Return ddname specification - Key = '0004'

Code DINRTDDN to request the return of the ddname associated with the specified allocation. If the data set you specify is a member of a concatenated group, and is not the first member, there is no ddname associated with it. If you need to retrieve information for a data set that is a member of a concatenated group, consider using the DINRTDDX text unit instead.

When you code this key, # must be one, LEN must be at least the length of the ddname, and can be longer, up to a maximum of 8. The PARM field must be the length specified by the value in LEN. Upon return to your program, PARM will contain the requested ddname, and LEN will be set to its length.

Example: To request the return of the ddname, code:
KEY    #      LEN    PARM
0004   0001   0008   --------