$DSCALL OPT=DSNLIST

Provides in variables the number and name of data sets concatenated to a ddname.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=DSNLIST 
             DD=dd_name

Used to provide a list of all the data sets concatenated to a ddname.

Operands:

Return Codes:

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

Return Variables:

Example: OPT=DSNLIST

EXEC $DSCALL OPT=DSNLIST DD=COMMANDS


Copyright © 2009 CA. All rights reserved.