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

Examples Used to Illustrate DEBUG Commands
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–15
Output of the ZEX0902N
NCL Process
The following screen shows the results of executing the procedure from the OCS
command input line using the START command:
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
(11:22) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
|NM1060 PROCEDURE ZEX0902N NCLID 1028 PAUSED
GO ID=1028 Y
---| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10+|
1 :
2 :
3 : ******************** <-- bar 1
4 : ********** <-- bar 2
5 : *************** <-- bar 3
6 :
7 :
8+ :
---| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10+|
NNM1005 START ZEX0902N PROCESSING COMPLETE. NCLID 001028
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Note The indicators beginning with arrows (<--) are not part of the output; they are aids used in the following
discussion.
The string passed to the NCL procedure for analysis in this example is THE QUICK
BROWN FOX JUMPS OVER THE LAZY DOG. (If a string were not entered, execution
would terminate immediately.) The ZEX0902N NCL process is then paused, because
of the PAUSE statement. You must resume execution of the ZEX0902N NCL process
by using a GO command that specifies both the NCL ID of the NCL process and the
letter Y. In this example, the command is:
GO ID=1028 Y
The Y is passed to the NCL process, and is used to confirm that you want execution to
continue. If you do not enter Y after the GO command, the NCL process terminates
execution.
After execution resumes, the NCL process then displays a histogram in the OCS
message display area showing the result of analyzing the string THE QUICK BROWN
FOX JUMPS OVER THE LAZY DOG. The histogram shows that the string has the
following:
Four words that are three characters in length: THE, FOX, THE, and DOG (shown
by bar 1).
Two words that are four characters in length: OVER and LAZY (shown by bar 2).