Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Specifying maximum waiting times for dialog prompting

In the KDCDEF control statement MAX, you can specify the maximum waiting times for dialog prompting using the operand TERMWAIT= and PGWTIME= as well as the IDLETIME= operand of the PTERM statement.

  • The operand PGWTTIME= is used to set the maximum permitted length of the interval between the output of a dialog message to the client after a blocking call (for example, a PGWT call) and the subsequent dialog input. If no input is made during this period of time, openUTM is forced to interrupt the service.

    After a blocking call, the task / work process remains in a synchronous wait state until the next dialog entry and cannot handle any other jobs until this time.

  • The operand TERMWAIT= is used to set the maximum permitted length of the interval between the dialog output at a terminal after a PEND KP and the subsequent dialog input. If no input is made during this period of time, openUTM is forced to interrupt the service.

    After a PEND KP, any resources in the application maybe locked (e.g. database tables) and other users have to synchronously wait for these locks to be released.

  • The operand IDLETIME= is used to limit the waiting time after PEND RE and PEND FI/ER/FR, or in other words, after the end of a transaction.
    Monitoring the waiting time after the end of a transaction is used for data protection purposes. Should a user forget to sign off after completing work with the application, this function allows you to reduce the risk of unauthorized persons may get access to the client and can work with the UTM application without being forced to sign on.

The attention of the user must be drawn towards these relationships. The users must be shown the critical points of the dialog interaction so that they are aware of the effect an input delay may have on the performance of the application as a whole.