Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This class provides access to the scripting engine.

Field Summary

Field nameDescription
HB.engine.currentRepositoryName of the repository the currently executing script was loaded from.
HB.engine.currentScriptName of the currently executing script.
HB.engine.elapsedRunTime

The length of time (in microseconds) that a script has run.

HB.engine.elapsedRunTimeLimit

The maximum amount of time (in microseconds) that a script has run before abnormally terminating as a runaway script.

HB.engine.elapsedRunTimeLimitSecondsThe maximum amount of time (in seconds) that a script has run before abnormally terminating as a runaway script.
HB.engine.elapsedRunTimeSecondsThe length of time (in seconds) that a script has run.
HB.engine.parentRepositoryName of the parent repository that contains the parent script.
HB.engine.parentScriptName of the parent script that led to the current executing script.
HB.engine.logWrites a message to the CEEOUT/CESO queue.
HB.engine.logLevelControls level of engine's debug logging
HB.engine.maxIncludeDepthControls the maximum include depth, where the maximum include depth is the maximum amount of includes that can be nested.
HB.engine.outputThe Engine Output Object provides access to the generated output.
HB.engine.repositoryThe repository name where the top level script was loaded from.
HB.engine.scriptThe top level script name based on the passed in parameters or service invocation.
HB.engine.transportMethod or transport that caused the script to be invoked.


Field Detail

{String} currentRepository

...

Returns or sets the maximum amount of time (in microseconds) that a script has/can run before abnormally terminating as a runaway script.   The default for this value is the CICS runaway time.  The default value of HB.elapsedRunTimeLimit is 95% of the runaway system timer, which is a CICS parameter (ICVR in the SIT).  You could change the limit for the entire region by increasing the CICS runaway timer.


Note

You should not set the elapsedRunTimeLimit to a value that is greater than the CICS runaway timer value.


{floatingPoint} elapsedRunTimeLimitSeconds

Returns or sets the maximum amount of time (in seconds) that a script has/can run before abnormally terminating as a runaway script.     The default for this value is the CICS runaway time. The default value of HB.elapsedRunTimeLimit is 95% of the runaway system timer, which is a CICS parameter (ICVR in the SIT).  You could change the limit for the entire region by increasing the CICS runaway timer.

Note

You should not set the elapsedRunTimeLimit to a value that is greater than the CICS runaway timer value.

Note

Floating point values are accepted e.g. elapsedRunTimeLimitSeconds = 2.5;

...