NET/MASTER Network Control Language (NCL) Programmer's Guide
Writing NCL Procedures
Initial NCL Procedure Development
4–14 106160 Tandem Computers Incorporated
The following example, when compiled, generates many compilation errors:
zex0403n: PROCEDURE
 /* This NCL procedure is executed when */
 /* I select OCS from the primary menu. */
 GOSUB
 CND -PROFILE EMS NO
 CMD -PROFILE TRUNC/5
 CMD "PROFILE CMDKEEP'YES,
END zex0403n
The following screen shows the results of checking the procedure:
 (10:26) --------------------- OPERATOR CONTROL SERVICES ----------------------
 NCLCHECK ZEX0403N
 NNM1010 ZEX0403N 4 GOSUB
 NNM1011 ZEX0403N 4 !
 NNM2026 ERROR: LABEL EXPECTED
 NNM1010 ZEX0403N 5 CND -PROFILE EMS NO
 NNM1011 ZEX0403N 5 !
 NNM2063 ERROR: UNKNOWN VERB CND
 NNM1010 ZEX0403N 5 CND -PROFILE EMS NO
 NNM1011 ZEX0403N 5 !
 NNM2088 ERROR: NUMERIC VALUE REQUIRED
 NNM1010 ZEX0403N 6 CMD -PROFILE TRUNC/5
 NNM1011 ZEX0403N 6 !
 NNM2088 ERROR: NUMERIC VALUE REQUIRED
 NNM1010 ZEX0403N 6 CMD -PROFILE TRUNC/5
 NNM1011 ZEX0403N 6 !
 NNM2088 ERROR: NUMERIC VALUE REQUIRED
 NNM1010 ZEX0403N 8 END zex0403n
 NNM1011 ZEX0403N 8 !
 NNM2018 FATAL ERROR: OPEN STRING AT EOF
 NNM0999 *END* 6 ERRORS 0 WARNINGS
 ---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
 M=>
If the messages produced by a test compilation roll off the screen, you can recall them
by using the recall buffer. Refer to the NonStop NET/MASTER MS Operator’s Guide for
more information on using the recall buffer.










