NET/MASTER Network Control Language (NCL) Programmer's Guide

Displaying Information About Panels
Working With Panels
14–22 106160 Tandem Computers Incorporated
Displaying Information
About Panels
You can use the SHOW PANELS command to display information about panel
description files in the active panel queue. The following example displays
information about panel description files:
SHOW PANELS
The following screen shows the results of executing the command:
(08:04) --------------------- OPERATOR CONTROL SERVICES ----------------------
SHOW PANELS=PRELOADED
NNM1350 PANEL--- ---STATUS--- ---HITS--- ---LIBRARY
NNM1351 ZCEN1P PRELOADED 0 ZNNMPCS
NNM1351 ZCEN2P PRELOADED 0 ZNNMPCS
NNM1351 ZCEN3P PRELOADED 0 ZNNMPCS
NNM1351 ZCEN4P PRELOADED 0 ZNNMPCS
NNM1351 ZEDSPN1P PRELOADED 0 ZNNMPCS
NNM1351 ZEDSPN2P PRELOADED 0 ZNNMPCS
NNM1351 ZHWKMMNP PRELOADED 2 ZNNMPCS
NNM1351 ZLOGBRWP PRELOADED 0 ZNNMPCS
NNM1352 PRELOADED=8 MAXPANEL=10 REQUESTS=2 HITS=2
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Examples of Panel
Processing
This subsection has two examples of panel processing to show how NCL and Panel
Services interact to display a panel.
In the first 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
ZEX1402N:
zex1402n: PROCEDURE
/* Displays a panel */
PANEL ZEX1402P
SAY Value entered is &s
SAY Key pressed is &SYS.INKEY
PANELEND
END zex1402n
The procedure is designed to to display a panel, to display the value of the &S and
&SYS.INKEY variables, which are set when you enter input in the panel, and to
remove the panel from display. When the panel is displayed, the &S variable
contains input that you type at the keyboard before you press a function key, and
the &SYS.INKEY variable contains the name of the function key you press.