NET/MASTER Network Control Language (NCL) Programmer's Guide
Defining Field Characters in a Panel Description File
Working With Panels
14–36 106160 Tandem Computers Incorporated
6. After overwriting the first line as shown and pressing the ENTER key, the NCL
procedure completes by displaying two fields, including the field that you entered,
as follows:
(13:40) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1413N
The first field you typed was: HERE IS SOME DATA WHICH SHOULD BE RETURNED
The last usage of name is: FURTHER DATA
NNM1005 START ZEX1413N PROCESSING COMPLETE. NCLID 001027
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Notice that each use of
name
in the panel description file is replaced by its alias. In
this example, only four such replacements are permitted, as specified by the RANGE
operand. After the fourth replacement,
name
represents itself, and this is displayed
last. For further information on the #ALIAS panel control statement, refer to the
NonStop NET/MASTER NCL Reference Manual.
Specifying Output Padding
and Justification
Careful use of padding and justification can greatly enhance the appearance and
effectiveness of panels. You can specify padding and justification options on output
fields with the PAD and JUST options of the #FLD statement.
For fields starting with the field character associated with the #FLD statement there
are two types of justification: field-level justification and variable-level justification.
You can use these techniques concurrently.
The various ways output data can be manipulated and displayed are best described by
a series of examples. Accordingly, after a brief description of each type of justification,
a series of examples in a panel description file show a mix of fields each defined with a
different field character. Each shows a different display format. Study the #FLD
statements in the panel description file and observe the results of displaying the panel
on a screen.