STKIC keyword
Use the STKIC keyword to specify ddnames when you want to stack output image copy data sets.
If the DD statement (for the ddname you specify) is present in the JCL, the utility uses it to dynamically allocate the data sets.
If the DD statement (for the ddname you specify) is not present in the JCL, the utility does the following:
- dynamically allocates only the tape unit when you specify ICALLOC(Y)
- abends when you specify ICALLOC(N)
The utility places the output of each copy function that references the same DD statement on the tape volume allocated to that DD statement and writes one copy of the output image copy data set to each ddname listed.
For dynamic allocation, you need to supply a data set name prefix by using the ICPREF keyword or the data set name user exit (ICP$DSN or RCU$DSN). For information about other keywords to use with dynamic allocation, see Dynamic-allocation.
When stacking in asynchronous mode, the utility writes the output to the tape based on the scheduling of the function. The data sets on the tape may not be in the same order from job to job and may not be in the same order as the input control statements. Therefore, if you need to stack the data sets on the tape in a certain order, you must specify the synchronous mode.
Uses | Optional on the following control statements:
|
---|---|
Related keywords | |
Syntax | STKIC(ddname,ddname,...) |
Values | For the value, specify the ddname (1-8 alphanumeric characters). You can specify a series of up to 10 ddnames, separated with commas. You cannot specify a value that is the same value specified with the NAME keyword on a STACK control statement. |
Default | None |
Related topic