$DSCALL OPT=RENMEM

Renames a member of a PDS.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL    OPT=RENMEM 
                DSN=dataset_name 
                MEMBER=member_name 
                NEWNAME=member_name

This call is used to rename a member of a PDS. This call fails if the specified member is in use by another user, or if a member with the new name already exists.

Operands:

Return Codes:

Note: For more information about &SYSMSG, &$DSRC, and &$DSFDBK, see Return Codes and Feedback Codes.

Example: OPT=RENMEM

EXEC $DSCALL OPT=RENMEM DSN=CUSTOMER.DATA MEMBER=DEV01 +
   NEWNAME=TEST01


Copyright © 2009 CA. All rights reserved.