$DSCALL OPT=VOLSPACE

Finds the number of free tracks on a volume (disk pack).

&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=VOLSPACE
             VOL=volume_name

Use this function to find how much space is available on a volume.

Operands:

Return Codes:

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

Return Variables:

Example: OPT=VOLSPACE

EXEC $DSCALL OPT=VOLSPACE VOL=MOS001


Copyright © 2009 CA. All rights reserved.