Creates an alias for a member of a PDS.
&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=ALIAS
DSN=dataset_name
MEMBER=member_name
ALIAS=member_name
This call is used to create an alias entry for a member of a PDS. The alias entry inherits the SPF statistics of the original member. This call fails if a member with the same alias name already exists.
Operands:
Specifies that an alias be created for a member of a PDS.
Specifies the name of the PDS containing the member. No member name is specified.
Specifies the existing member for which an alias is to be created.
Specifies the alias name to be created. Any subsequent references to this name result in access to the member specified in the MEMBER operand.
Return Codes:
For information on &SYSMSG, &$DSRC, and &$DSFDBK, see Return Codes and Feedback Codes in this chapter.
Example: OPT=ALIAS
EXEC $DSCALL OPT=ALIAS DSN=CUSTOMER.DATA MEMBER=TEST01 + ALIAS=PROD01