Special environment

The user can operate in the IBM® i, the System/36, or the System/38 environment. When the user signs on, the system uses the routing program and the special environment in the user’s profile to determine the user’s environment.

Add User prompt:
Not shown
CL parameter:
SPCENV
Length:
10
Table 1. Possible values for SPCENV:
*SYSVAL The QSPCENV system value is used to determine the environment when the user signs on, if the user’s routing program is QCMD.
*NONE The user operates in the IBM i environment.
*S36 The user operates in the System/36 environment if the user’s routing program is QCMD.

Recommendations: If the user runs a combination of IBM i and System/36 applications, use the Start System/36 (STRS36) command before running System/36 applications rather than specifying the System/36 environment in the user profile. This provides better performance for the IBM i applications.

Figure 1. Description of special environment

Description of Special Environment

Description of special environment in Figure 1

The system determines if the routing program is QCMD. If it is not, then the system checks to see if the routing program is QCL. If the routing program is QCL, then the system will use the System/38 special environment. If the routing program is not QCL, then the system uses the program specified in the routing entry.

If the routing program is QCMD, then the system determines if the SPCENV system value is set. If it is set, then the system retrieves the value for QSPCENV system value and the system tests the special environment value. If SPCENV system value is not set, then the system tests the special environment value.

If the special environment value is set to *S36, the system runs the System/36 special environment. If the special environment value is set to *NONE, then the system runs the integrated IBM i environment.