$DSCALL OPT=DECONCAT

Deconcatenates a DD that is allocated to your product region.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=DECONCAT 
             DD=DD_name

This call is used to deconcatenate a DD into its original DD allocations. The DD can represent a single data set allocation, or be a concatenation of two or more allocated data sets. Deconcatenation results in each data set in the concatenation returning to its original allocation state, where the ddname each data set was assigned when allocated is available. DDs which are permanently concatenated remain concatenated.

Operands:

Return Codes:

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

Return Variables:

Example: OPT=DECONCAT

EXEC $DSCALL OPT=DECONCAT DD=DD1

This example deconcatenates DD1. If the DD consists of data sets which were originally allocated under the ddnames of DD1 and DD2 (as in the example for $DSCALL OPT=CONCAT) the deconcatenation of DD1 results in DD1 and DD2 being returned to their original state.


Copyright © 2009 CA. All rights reserved.