$DSCALL OPT=INFO

Retrieves data set information.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=INFO 
             DSN=dataset_name [ DD=DD_name ] 
           [ MOUNT= { NO | YES } ] 
           [ MIGRATE= { YES | NO } ]

This call is used to obtain data set information for a data set. The information is returned to the calling procedure in variables.

Operands:

Return Codes:

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

Return Variables:

Examples: OPT=INFO

EXEC $DSCALL OPT=INFO DSN=SYS1.LINKLIB MOUNT=YES

Note: Only cataloged data sets are supported. Unit and volume parameters are not supported by this function.


Copyright © 2009 CA. All rights reserved.