$DSCALL OPT=DSNSPACE

Computes the number of allocated tracks in a data set.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL    OPT=DSNSPACE 
                DSN=dataset_name

Used to find how much space is allocated to a data set.

Operands:

Return Codes:

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

Return Variables:

Example: OPT=DSNSPACE

EXEC $DSCALL OPT=DSNSPACE DSN=SYS1.DEV.SAMPLE


Copyright © 2009 CA. All rights reserved.