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

Displaying Decompiled Source Code
Debugging an NCL Process
9–40 106160 Tandem Computers Incorporated
The following screen displays multiple statements in a forward direction from the
specified statement:
(15:27) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 1102 PAUSED
DEBUG START ID=1102
NNM1901 NCL 001102 DEBUG SESSION INITIATED
NNM1902 NCL 001102 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=1102 Y
DEBUG SOURCE LOC=ZEX0902N.12 FW=5
NNM1926 NCL 001102 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N
NNM1927 NCL 001102 28 12 0 0 DO &I = 1 TO &SYS.PARMCNT BY 1
NNM1927 NCL 001102 29 13 4 0 &LEN = MIN( LENGTH( &&I ), 8 )
NNM1927 NCL 001102 30 14 4 0 &CHARS.&LEN = 1+&CHARS.&LEN
NNM1927 NCL 001102 31 15 4 0 END
NNM1927 NCL 001102 34 16 0 0 SAY TOP_TITLE()
NNM1927 NCL 001102 35 17 0 0 DO &I = 1 TO 8 BY 1
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
PM=>
In this example, the ZEX0902N NCL procedure is executed. The DEBUG START
command starts a debug session. The GO command resumes execution of the paused
NCL process. The DEBUG SOURCE command displays five statements in a forward
direction from the specified statement: that is, statements 12 through 17.