CWAKEY
The CWAKEY system initialization parameter specifies the storage key for the common work area (CWA) if you are operating CICS® with the storage protection (STGPROT=YES system initialization parameter).
Specify how much storage you want for the CWA on the WRKAREA system initialization parameter. If CICS is running without storage protection, the CWAKEY system initialization parameter is ignored, and the CWA is always allocated from CICS-key storage. For information about storage protection, see How you can protect CICS storage. For information about how to set up storage protection, see Setting up storage protection. For information about the STGPROT system initialization parameter, see STGPROT system initialization parameter.
Defining CWAKEY
You can define the CWAKEY system initialization parameter in the following ways:
- In the PARM parameter of the EXEC PGM=DFHSIP statement.
- In the SYSIN data set of the CICS startup job stream.
- Through the system console.
- In the DFHSIT macro.
Values for CWAKEY
- CWAKEY={USER|CICS}
- Valid values for the CWAKEY system initialization parameter are as follows:
- USER
- USER is the default value for CWAKEY. CICS obtains storage for the CWA in a user key. This allows a user program running in any key to modify the CWA.
- CICS
- CICS obtains storage for the CWA in CICS key. This means only programs running in CICS key can modify the CWA and user-key programs have read-only access.