$DSCALL OPT=ALIAS

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:

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


Copyright © 2009 CA. All rights reserved.