$DSCALL OPT=DELMEM

Deletes a member of a PDS.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=DELMEM 
             DSN=dataset_name 
             MEMBER=member_name 
             CONFIRM={ YES | NO }

This call is used to delete a member of a PDS. This call fails if the specified member is in use by another user.

Operands:

Return Codes:

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

Example: OPT=DELMEM

EXEC $DSCALL OPT=DELMEM DSN=CUSTOMER.DATA MEMBER=TEST01


Copyright © 2009 CA. All rights reserved.