When executing scripts using version 6.81 of HostBridge, you may start to see messages similar to the following: 

"Elapsed run time of 14250000 microseconds exceeded. This is controlled via HB.engine.elapsedRunTimeLimit."

The elapsed run time is now controlled by HB.elapsedRunTimeLimit.  It is set on a per script basis and is expressed in microseconds.  So, for example, if you want to limit your script to 3 seconds you would code the following at the top of your script: 

HB.elapsedRunTimeLimit = 3 * 1000 * 1000;

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.

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

You can disable elapsedRunTimeLimit checking by using the HBJS_ERTL=0 directive, described here.

As of release 6.91 of HostBridge, the default for the HBJS_ERTL directive will be set to 0; so the elapsedRunTimeLimit will not be checked by default; as of that release, you will need to set HBJS_ERTL=1 to use this feature.

© 2022 HostBridge Technology, LLC
Unless otherwise noted, all rights reserved.