Sign in

docs ILE Concepts

QIBM_BN_CREATE_WITH_COMMON_CODEGEN Environment Variable

QIBM_BN_CREATE_WITH_COMMON_CODEGEN Environment Variable

QIBM_BN_CREATE_WITH_COMMON_CODEGEN Environment Variable

For large builds, it might not be convenient to specify the CodeGenTarget LICOPT for all module and program creation commands. In addition, the command you use to create objects might not support the LICOPT parameter. In these situations, you can use the QIBM_BN_CREATE_WITH_COMMON_CODEGEN environment variable to set the adaptive code generation behavior for your builds.

To work with environment variables, use the Work with Environment Variable (WRKENVVAR) command.

The possible values for the QIBM_BN_CREATE_WITH_COMMON_CODEGEN environment variable are in the following table.

ValueMeaning
0When you create new modules, use LICOPT CodeGenTarget as specified. If CodeGenTarget is not specified, use CodeGenTarget=Current. (This is the default.)
1When you create new modules, use LICOPT CodeGenTarget as specified. If CodeGenTarget is not specified, use CodeGenTarget=Common.
2When you create new modules, always use CodeGenTarget=Common, overriding any LICOPT CodeGenTarget that might have been supplied.
  • Value 0 denotes the default behavior.
  • Value 1 is useful when you want to use the common subset of features on most parts, but would like to override this for individual parts.
  • Value 2 is useful when you need to ensure that all parts are built with the common subset of features.

Note: This environment variable applies only when you create new modules. It does not apply on change commands, such as Change Program (CHGPGM). Nor does it apply during object conversion.