SET CLASSCACHE

Set the status of autostart for the shared class cache.

Read syntax diagramSkip visual syntax diagramSET CLASSCACHE
 
>>-SET CLASSCACHE--+-------------------+-----------------------><
                   +-AUTOSTARTST(cvda)-+
                   +-ENABLED-----------+
                   '-DISABLED----------'
 

Conditions: INVREQ, NOTAUTH

For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

Description

The SET CLASSCACHE command enables you to set the status of autostart for the shared class cache.

On an initial or cold start of CICS, the status of autostart is taken from the system initialization parameter JVMCCSTART. A JVMCCSTART value of YES or AUTO gives an autostart status of ENABLED, and a JVMCCSTART value of NO gives an autostart status of DISABLED. You can change the status of autostart by using the SET CLASSCACHE AUTOSTARTST command, or by using the AUTOSTARTST option on the EXEC CICS PERFORM CLASSCACHE TERMINATE command (or the equivalent CEMT command) when you terminate the shared class cache.

When you change the status of autostart for the shared class cache while CICS is running, subsequent CICS restarts use the most recent settings that you made using the CEMT or EXEC CICS SET CLASSCACHE command (or the CEMT or EXEC CICS PERFORM CLASSCACHE command), unless the system is INITIAL or COLD started, or the system initialization parameter JVMCCSTART is specified as an override at startup. In these cases, the setting from the system initialization parameter is used.

Options

AUTOSTARTST(cvda)
specifies the status of autostart for the shared class cache. The CVDA values are:
ENABLED
If the shared class cache has been stopped or has not yet been started on this CICS execution, the shared class cache is started as soon as CICS receives a request to run a Java application in a JVM whose profile requires the use of the shared class cache.
DISABLED
If the shared class cache has been stopped or has not yet been started on this CICS execution, an explicit EXEC CICS PERFORM CLASSCACHE INITIALIZE(START) command (or the equivalent CEMT command) is required to start it. If the status of the shared class cache is STOPPED and autostart is disabled, and CICS receives a request to run a Java application in a JVM whose profile requires the use of the shared class cache, the request fails.

Conditions

INVREQ
RESP2 values:
4
An invalid value was specified for AUTOSTARTST.
NOTAUTH
RESP2 value:
100
The user associated with the issuing task is not authorized to use this command.
[[ Contents Previous Page | Next Page Index ]]