Initialize and terminate the shared class cache.
PERFORM CLASSCACHE >>-PERFORM CLASSCACHE-------------------------------------------> >--+-+-INITIALIZE(cvda)-+-+-----------------------+-+---------------------+-+->< | +-START------------+ '-CACHESIZE(data-value)-' '-PROFILE(data-value)-' | | '-RELOAD-----------' | '-+-TERMINATE(cvda)-+-+-------------------+------------------------------' +-PHASEOUT--------+ +-AUTOSTARTST(cvda)-+ +-PURGE-----------+ +-ENABLED-----------+ '-FORCEPURGE------' '-DISABLED----------'
Conditions: INVREQ, NOTAUTH
For more information about the use of CVDAs, see CICS-value data areas (CVDAs).
You can use the PERFORM CLASSCACHE command to initialize (start or reload) and terminate (phase out, purge or forcepurge) the shared class cache. While you are performing one of these operations, you can use other options on the command to set attributes of the shared class cache, as follows:
When you change the size, JVM profile or autostart status of the shared class cache while CICS is running, subsequent CICS restarts use the most recent settings that you made using the PERFORM CLASSCACHE command (or the SET CLASSCACHE command), unless the system is INITIAL or COLD started, or the system initialization parameters are specified as overrides at startup. In these cases, the settings from the system initialization parameters are used.
When you use the name of a JVM profile anywhere in CICS, you must enter it using the same combination of upper and lower case characters that is present in the HFS file name.
If the START or RELOAD command is successfully executed but the master JVM fails to start, CICS retains the JVM profile name that you specify, and displays it as the JVM profile for the master JVM. Next time you issue the command to start or reload the shared class cache, the new JVM profile will be used, unless you change it again using the PROFILE option.
If autostart is enabled for the shared class cache, a new shared class cache is started as soon as a new JVM requests it. If autostart is disabled, the EXEC CICS PERFORM CLASSCACHE INITIALIZE(START) command (or the equivalent CEMT command) must be entered if you want to start a new shared class cache. If you do not restart the shared class cache, requests to run a Java application in a JVM whose profile requires the use of the shared class cache will fail. Specify the AUTOSTARTST option to set the status of autostart.
You can repeat the command, using the PURGE or FORCEPURGE option, to make a stronger attempt to purge the tasks using the JVMs. However, you should only repeat the command if autostart for the shared class cache is disabled. If autostart is enabled, and you repeat the command to terminate the shared class cache, the command could operate on the new shared class cache that has been started by the autostart facility, and terminate it.
The CVDA values for the TERMINATE option are: