NET/MASTER Network Control Language (NCL) Programmer's Guide
Displaying Decompiled Source Code
Debugging an NCL Process
9–42 106160 Tandem Computers Incorporated
The following screen displays multiple statements in a backward direction from the
specified statement:
(15:32) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 1108 PAUSED
DEBUG START ID=1108
NNM1901 NCL 001108 DEBUG SESSION INITIATED
NNM1902 NCL 001108 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=1108 Y
DEBUG SOURCE LOC=ZEX0902N.12 BW=5
NNM1926 NCL 001108 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N
NNM1927 NCL 001108 21 7 0 0 CMDLINE "GO ID="||&SYS.NCLID||" _Y"
NNM1927 NCL 001108 22 8 0 0 PAUSE VARS=( &PAUSE )
NNM1927 NCL 001108 23 9 0 0 IF SUBSTR( UPPER( &PAUSE ), 1, 1 )\=="Y"
NNM1927 NCL 001108 24 10 3 0 THEN EXIT
NNM1927 NCL 001108 26 11 0 0 &CHARS. = "0"
NNM1927 NCL 001108 28 12 0 0 DO &I = 1 TO &SYS.PARMCNT 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 backward
direction from the specified statement: that is, statements 7 through 12.