Setting Gateway daemon JVM options

Startup options are used to set the properties of the Gateway daemon JVM, such as heap size and Java™ properties.

JVM options can be specified in the parameters passed to the ctgstart command using the PARM string on the EXEC PGM=CTGBATCH section of the JCL, or using the CTGSTART_OPTS environment variable. Each JVM option must be prefixed with -j.

For example, to set the maximum JVM heap size to 512MB:
CTGSTART_OPTS=-j-Xmx512M
You can query the maximum JVM heap size with the following command:
/F <jobname>,appl=stats,gs=SE_SHEAPMAX
If you have the CICS® TG plug-in installed in Explorer, you can also see the value in the MaxHeap column.

The parameter list for the CTGSTART_OPTS environment variable can exceed 100 characters. For more information see Environment variables: remote mode.