Pathmaker Programming Guide
Modifying Requesters
Advanced Pathmaker Programming Topics
9–26 067868 Tandem Computers Incorporated
To change the display for error messages to blinking:
?SECTION SPECIAL-NAMES-T16-6520, TANDEM
.
.
.
T9154-ATTN IS (REVERSE, BLINK) <--- New display:
. reverse video,
. blinking.
.
TIMEOUT Limit
T9154CPY has two variables that you can change to control timeouts in your
application:
T9154-ACCEPT-TIMEOUT
T9154-MAX-TIMEOUTS
These variables are located in the TIMEOUT-WS section of T9154CPY:
?SECTION TIMEOUT-WS, TANDEM
01 T9154-ACCEPT-TIMEOUT PIC 9(4) COMP VALUE 512.
01 T9154-TIMEOUT-COUNTER PIC 9(4) COMP.
01 T9154-MAX-TIMEOUTS PIC 9(4) COMP VALUE 0001.
You can change the values of T9154-ACCEPT-TIMEOUT and T9154-MAX-TIMEOUTS;
you cannot change T9154-TIMEOUT-COUNTER.
T9154-ACCEPT-TIMEOUT. The T9154-ACCEPT-TIMEOUT limit is the amount of time in
seconds the end user has to complete data entry.
When the ACCEPT times out, the application checks the timeout counter against
T9154-MAX-TIMEOUTS. If the maximum has not been reached, the screen is
redisplayed, allowing the @TIME pseudofield to be updated, and the ACCEPT is
reposted. If the maximum has been reached, control is returned to the process from
which the application was started. For example, if you start the application from
PATHCOM, control is returned to PATHCOM.
The T9154-ACCEPT-TIMEOUT value for the Pathmaker product equals about 8.5
minutes. If you want to change the amount of time the end user has to complete data
entry, you can change the value clause of T9154-ACCEPT-TIMEOUT.
If a requester does not display sensitive information, you might want to avoid having
a timeout. Setting the T9154-ACCEPT-TIMEOUT value to a very large number
prevents loss of data during data entry and allows the Pathmaker application to
remain on the terminal screen for extended periods of time.