Language Environment run time options for AMODE (24) programs
The default Language Environment® runtime options for CICS® are ALL31(ON) and STACK(ANY). This means all programs that require Language Environment must be capable of addressing 31-bit storage, that is, must be AMODE(31), when Language Environment is enabled.
For AMODE(24) programs to run in a Language Environment-enabled CICS region, you can specify ALL31(OFF) and STACK(BELOW) for those programs that must run below the 16 MB line. However, if you change these options globally so that all programs use them, large amounts of storage will be allocated below 16 MB, which might cause a short-on-storage condition. When the ALL31(OFF) option is used, Language Environment acquires some control blocks, for example the RUWA, both above and below the 16 MB line, and so additional GETMAIN and FREEMAIN requests are needed to manage the duplicate control blocks.
You do not need to specify ALL31(OFF) as long as the program in question is the initial program invoked by a transaction, because Language Environment acquires storage for the enclave (program) in the correct addressing mode automatically. The exception is an AMODE(31) program that dynamically calls an AMODE(24) program. In that situation, the dynamically called AMODE(24) program needs to specify ALL31(OFF).