Preinitialized Environments for Authorized Programs for AMODE 64 applications

Preinitialized Environments for Authorized Programs is a feature of Language Environment for AMODE 64 applications. It allows authorized components to create pre-initialized Language Environment environments that are able to execute C/C++ and Language Environment-conforming assembler routines. To use Preinitialized Environments for Authorized Programs, the caller must be running supervisor state, with PSW key 1 to 7. The caller's PSW key must be the same for all requests. When running in cross-memory mode, all data used by the routine must be in the current primary address space. Access registers are not used to address this data.

Preinitialized Environments for Authorized Programs are created, initialized, and ended asynchronous to the execution of the C, C++, and Language Environment-conforming Assembler routines. Each environment is a self-contained process and has its own stack and heap. You have the option of managing the environments (user-managed) or allowing Preinitialized Environments for Authorized Programs to manage them (system-managed).