Change the stack size on z/OS® by altering or adding the Language Environment® (LE) _CEE_RUNOPTS environment variable. This can be done for all integration servers defined to a broker, or a specific integration server.
Broker components on z/OS are compiled using the XPLINKage (extra performance linkage), which adds optimization to the runtime code. However, if the initial stack size is not large enough, stack extents are used. The initial stack size is 1 MB, and 1 MB is used in each extent. Ensure that you choose a large enough downward stack size because the performance of XPLINK can be adversely affected when stack extents are used.
To determine suitable stack sizes, you can use theLanguage Environment Report Storage tool.
export _CEE_RUNOPTS=RPTSTG\(ON\)
You
can then override the default values for the stack sizes on z/OS by altering or adding the _CEE_RUNOPTS environment variable.You can do this for all integration servers defined to a broker, or a specific integration server.
export _CEE_RUNOPTS=THREADSTACK64\(ON,2M,1M,128M\)
When you use the RPTSTG option, it increases the time that an application takes to run, so use it as an aid to the development of message flows only, and not in your final production environment. When you have determined the correct stack sizes needed, remove this option from the _CEE_RUNOPTS environment variable.
XPLINK stacks grow downward in virtual storage while the standard linkage grows upward. To avoid affecting performance by switching between downward stack space and upward stack space during run time, compile user-defined extensions using the XPLINK option where possible. If your message flow uses user-defined extensions that have been compiled with the standard linkage convention, set a suitable value for the upward stack size.