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

The Structure of an NCL Procedure
Initial NCL Procedure Development
4–2 106160 Tandem Computers Incorporated
The following example shows how you can use the line continuation character to split
this long line into multiple lines:
WRITE ALARM=YES,
COLOR=PINK,
HLITE=BLINK,
NRD=YES,
DATA=&message
The following example splits a quoted string over more than one line:
CMD "UNIT DEFINE=ZNNMU SESSION=ZNNMS MODE=PRIMARY",
"DEVICE=$ZNNM.SUBVOL1.MAILBOX1"
Blank lines are ignored in an NCL procedure except where the blank line occurs after a
line continuation character.
Figure 4-1. Layout and Scope of an NCL Procedure
002
b: procedure
a: procedure
c: function
• • •
end /* c */
d: procedure
• • •
end /* d */
end /* b */
e: function
• • •
end /* e */
end /* a */
• • •
• • •
• • •
• • •
• • •