This call deallocates a data set from your product region.
&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT={ UNALL | FREE }
DD=ddname
[ DISP={ KEEP | DELETE } ]
Operands:
Specifies the deallocation of a data set.
Specifies the ddname to deallocate.
Specifies an override of the Normal Disposition which was specified when the data set was allocated to your product region.
Return Codes:
Note: For more information about &SYSMSG, &$DSRC, and &$DSFDBK, see Return Codes and Feedback Codes.
Return Variables:
DYNALLOC error code
DYNALLOC information code
Example: OPT=UNALL
EXEC $DSCALL OPT=UNALL DD=DD1
Notes:
If a concatenated data set is freed, the first data set in the concatenation is deallocated. The other ddnames in the concatenation return to their original allocation state. The net effect is the same as a deconcatenation followed by a deallocation of the first ddname in the concatenation.
A temporary data set whose name was generated at allocation is deleted when deallocated, regardless of the disposition value specified.
| Copyright © 2009 CA. All rights reserved. |
|