Settings for Product Master scripting mode

Depending on whether you want to use compiled or non-compiled scripts, you can set the compile mode in the IBM® Product Master common.properties file.

Product Master scripting is set in $TOP/etc/default/common.properties by using:
script_execution_mode=script_mode
Where script_mode can be either compiled_only, compiled_if_available, or not_compiled.
compiled_only
The entire script is compiled before execution. The script is run only if the compilation passed. To ensure proper performance, use the compiled_only option.
compiled_if_available
The entire script is compiled first, and if the compilation fails, the script is ran in the not_compiled mode.
Attention: The compiled_if_available mode adversely impacts the performance. However, if this mode must be used, then be aware that a compiled script cannot start a function from a non-compiled script.
not_compiled
The script is run without being compiled as a whole before execution.
Important: Use the following in the common.properties:
script_execution_mode=not_compiled
Script mode can be overridden by including the following directive at the beginning of the script:
//script_execution_mode=script_mode
Attention: Do not use the directive //script_execution_mode=not_compiled at a script level due to significant performance degradation.
Script mode cannot be overridden if the mode is set to not_compiled in common.properties.

To check the current script mode, run the following method.

getScriptExecutionMode()