To make your CICS® system definition file (CSD) available to CICS, you can either include a DD statement in the CICS startup job or use dynamic allocation.
Procedure
- Include the following DD statement in your CICS startup job stream:
If you include a DD statement for the CSD in the CICS startup job, the CSD is allocated at the time of CICS job step initiation and remains allocated for the duration of the CICS job step.
- To dynamically allocate the CSD, specify the data set name
(DSNAME) and disposition (DISP) of the CSD, using one of the following
methods:
- The CSDDSN and CSDDISP system
initialization parameters
- The CEMT SET FILE command
- The EXEC CICS SET FILE command
Do not provide a DD statement for the CSD in the startup job
stream. If there is a CSD DD statement, it is used instead of dynamic
allocation.
CICS uses the full data set name (DSNAME) to allocate the CSD as part of OPEN processing. The CSD is automatically deallocated when the last entry associated with it is closed.
What to do next
For more information about OPEN processing, see Defining user files. For information
about the parameters that you can code for the CSD in the SIT, see Specifying CICS system initialization parameters.