Concatenation order of runtime environment definition library members

The GENERATE action builds the set of parameters for a runtime environment by concatenating RTEDEF members in a well-defined order.

At a high level, the order in which the parameters are read can be categorized as follows:
  • System symbols and KCIPARSE-extracted variables found by the DISCOVER action
  • Target copy (if option TRGCOPY is specified)
  • Variables (if system variables are enabled for the runtime environment)
  • Runtime environment
  • Product
  • Global
  • Package (if remote deployment applies)
The following table provides the specific order (by RTEDEF member) in which the parameters are read. In this list, parameters that are set in member SYS@lpar are read first and parameters that are set in member PCK$lpar are read last. In the following table, lpar identifies the LPAR on which the GENERATE action runs.
Important: If a parameter is set more than once, the last value that is read is used.
Table 1. Read order of runtime environment parameters
Order position RTEDEF member Notes
1 SYS@lpar The SYS@lpar member is always processed first, even if the system variables flag (RTE_SYSV_SYSVAR_FLAG) is disabled.
2 trg_copy_name The trg_copy_name member is processed only if option TRGCOPY is specified.
3 VAR$GLOB The VAR$GLOB member is processed only if the system variables flag (RTE_SYSV_SYSVAR_FLAG) is enabled.
4 VAR$lpar The VAR$lpar member is processed only if the system variables flag (RTE_SYSV_SYSVAR_FLAG) is enabled.
5 rte_name  
6 Kpp@lpar For KC5, KI5, KD5, and KN3 only
7 Kpp$PARM  
8 Kpp$lpar  
9 GBL$PARM  
10 GBL$lpar  
11 PCK$PARM The PCK$PARM member is processed only if the runtime environment is designed for remote deployment and parameter KFJ_LOCAL_PLIB_HILEV is specified in the KCIVARS DD statement.
12 PCK$lpar The PCK$lpar member is processed only if the runtime environment is designed for remote deployment and parameter KFJ_LOCAL_PLIB_HILEV is specified in the KCIVARS DD statement.
Tip: After you run the GENERATE action, you can view an ordered list of the RTEDEF library members that the action uses. For more information, see Parameter values used.