Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
5-98
PW-QUEUE-FKEY-TIMEOUT Special Register
value is internally queued in the 6530 terminal. The function key value is read upon
execution of the next ACCEPT statement.
If the PW-QUEUE-FKEY-UMP special register equals NO and an unsolicited message
arrives during an ACCEPT...ESCAPE ON UNSOLICITED MESSAGE statement, the
TCP issues a command to the terminal to lock the keyboard before executing the
unsolicited message logic. The keyboard is unlocked at the next ACCEPT statement.
This action prevents 6530 terminals from internally queuing a function key that the
operator presses between the start of execution of the unsolicited message logic and
the next ACCEPT statement.
PW-QUEUE-FKEY-TIMEOUT Special Register
The PW-QUEUE-FKEY-TIMEOUT special register controls the behavior of the
ACCEPT...ESCAPE ON TIMEOUT statement. This register can be altered freely
throughout the SCREEN COBOL application and is global to all program units.
The register has the following implicit declaration:
The value of this register is either YES or NO. The default value for the register is
YES.
If the PW-QUEUE-FKEY-TIMEOUT special register equals YES and a timeout occurs
on an ACCEPT...ESCAPE ON TIMEOUT statement, the keyboard remains unlocked
during execution of the timeout logic. If the operator presses a function key during this
time, the function key value is internally queued in the 6530 terminal. The key value is
read upon execution of the next ACCEPT statement.
If the PW-QUEUE-FKEY-TIMEOUT special register equals NO and a timeout occurs
on an ACCEPT...ESCAPE ON TIMEOUT statement, the TCP issues a command to the
terminal to lock the keyboard before executing the timeout logic. The keyboard is
unlocked at the next ACCEPT statement. This action prevents 6530 terminals from
internally queuing a function key that the operator presses between the start of
execution of the timeout logic and the next ACCEPT statement.
PW-TCP-PROCESS-NAME and PW-TCP-SYSTEM-NAME Special
Registers
The PW-TCP-PROCESS-NAME and PW-TCP-SYSTEM-NAME special registers
contain the TCP Guardian process name and the host system name, respectively.
The SCREEN COBOL program uses these registers, in conjunction with the
TERMINAL-FILENAME special register, to identify itself to another Guardian process.
The Guardian process must be a member of an active Pathway server class.
The SCREEN COBOL program can identify itself to the Guardian process by sending
the TCP process-name and system-name, and the SCREEN COBOL program name.
01 PW-QUEUE-FKEY-TIMEOUT PIC AAA.










