Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Values IRXINIT uses to initialize environments z/OS TSO/E REXX Reference SA32-0972-00 |
|
When the system calls IRXINIT to automatically initialize an environment
in the TSO/E address space, IRXINIT determines what values to use
for defining the environment from two sources:
During logon processing, IRXINIT initializes a language processor environment for the TSO/E session. IRXINIT first checks the values in the default parameters module IRXTSPRM. If the value is provided (that is, the value is not null), IRXINIT uses that value. If the value in the parameters module is null, IRXINIT uses the value from the previous environment. In this case, an environment does not exist, so IRXINIT uses the value from the IRXPARMS parameters module. IRXINIT computes each individual value using this method and then initializes the environment. The following types of parameter values are considered to be null:
For example, in IRXTSPRM, the PARSETOK field is null. When IRXINIT determines what value to use for PARSETOK, it finds a null field in IRXTSPRM. IRXINIT then checks the PARSETOK field in the previous environment. A previous environment does not exist, so IRXINIT takes the value from the IRXPARMS module. In this case, the PARSETOK field in IRXPARMS is null, which is the value that IRXINIT uses for the environment. If an exec running in the environment contains the PARSE SOURCE instruction, the last token that PARSE SOURCE returns is a question mark. After IRXINIT determines all of the values, IRXINIT initializes the new environment. When a user invokes ISPF from the TSO/E session, the system calls IRXINIT to initialize a new language processor environment for ISPF. IRXINIT first checks the values provided in the IRXISPRM parameters module. If a particular parameter has a null value, IRXINIT uses the value from the previous environment. In this case, the previous environment is the environment that IRXINIT initialized for the TSO/E session. For example, in the IRXISPRM parameters module, the mask bit (CMDSOFL_MASK) for the command search order flag (CMDSOFL) is 0. A mask of 0 indicates that the corresponding flag bit is null. Therefore, IRXINIT uses the flag setting from the previous environment, which in this case is 0. As the previous descriptions show, the parameters defined in all three parameters modules can have an effect on any language processor environment that is initialized in the address space. When IRXINIT automatically initializes a language processor environment in a non-TSO/E address space, IRXINIT uses the values in the parameters module IRXPARMS only. If you call the IRXINIT routine to initialize a language processor environment, you can pass parameters on the call that define the values for the environment. See Initialization and termination routines for information about IRXINIT. |
Copyright IBM Corporation 1990, 2014
|