NET/MASTER Network Control Language (NCL) Programmer's Guide
Displaying Information About Panels
Working With Panels
14–24 106160 Tandem Computers Incorporated
5. Enter a value from 1 through 5, press a function key to remove the panel from
display, and then observe the results of executing the NCL procedure, as shown in
the following screen:
(14:37) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1402N
Value entered is 5
Key pressed is ENTER
NNM1005 START ZEX1402N PROCESSING COMPLETE. NCLID 001526
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The value you entered at the keyboard, 5 in this example, is placed in the input
variable &S and is displayed on the screen. The name of the key you pressed after
entering the value, ENTER in this example, is placed in the system variable
&SYS.INKEY and is displayed on the screen.
In the second example, follow these steps to see the result of NCL and Panel Services
interaction:
1. Type the following NCL procedure in your user procedure library and call it
ZEX1403N:
zex1403n: PROCEDURE
/* Displaying a panel */
DO FOREVER
PANEL ZEX1403P
END /*do*/
END zex1403n
The procedure is designed to to display a panel until you press either the F3 or F4
function key.