XPLINK runtime option

Language Environment initializes the enclave as an XPLINK environment if the initial program is compiled XPLINK or the XPLINK(ON) runtime option is specified. If the initial program is non-XPLINK but may call an XPLINK program later in its execution, then the XPLINK(ON) runtime option is required so that the XPLINK resources will be allocated and available when they are needed.

Applications that consist only of non-XPLINK functions (for example COBOL or PL/I) should not execute with the XPLINK(ON) runtime option, because this option provides no benefit when not running an XPLINK application, and could result in performance degradation. In fact, for non-XPLINK applications, enabling this runtime option could result in abends for applications that have not been tested to run in an XPLINK environment, for example, if they use resources or subsystems that are restricted in an XPLINK environment. See XPLINK restrictions.

No AMODE 24 routines are allowed in an enclave that uses XPLINK. When an application is running in an XPLINK environment (that is, either the XPLINK(ON) runtime option was specified, or the initial program was compiled XPLINK), the ALL31 runtime option will be forced to ON. No message will be issued to indicate this action. In this case, if a Language Environment runtime options report is generated using the RPTOPTS runtime option, the ALL31 option will be reported as "Override" under the LAST WHERE SET column.

When an application is running in an XPLINK environment (that is, either the XPLINK(ON) runtime option was specified, or the initial program was compiled XPLINK), the STACK runtime option will be forced to STACK(,,ANY). Only the third suboption of the STACK runtime option is changed by this action, to indicate that stack storage can be allocated anywhere in storage. No message will be issued to indicate this action. In this case, if a Language Environment runtime options report is generated using the RPTOPTS runtime option, the STACK option will be reported as "Override" under the LAST WHERE SET column.