Start of change

Return relative position specification - Key = '0012'

Code DINRLPOS to request the return of the relative position of a data set within a concatenated group. The first data set within a concatenated group has a relative position of zero. Likewise, if the data set you specify is not a member of a concatenated group, zero is returned.

This text unit can be used in combination with the DINRTDDX text unit to determine the ddname and relative position of a data set within a concatenated group.

When you code this key, # must be one, LEN must be 2, and PARM is a two-byte field. Upon return to your program, PARM will contain the relative position of the data set.

Example: To request the return of the relative position within a concatenated group, code:
KEY    #      LEN    PARM
0012   0001   0002   ----
End of change