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

Displaying Decompiled Source Code
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–41
The following screen displays multiple statements in a backward direction from the
current statement:
(15:23) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 1098 PAUSED
DEBUG START ID=1098
NNM1901 NCL 001098 DEBUG SESSION INITIATED
NNM1902 NCL 001098 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=1098 Y
DEBUG SOURCE BW=10
NNM1926 NCL 001098 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N
NNM1927 NCL 001098 1 1 0 0 ZEX0902N: PROCEDURE EXTPARSE SIMPLE
NNM1927 NCL 001098 15 2 0 0 IF &SYS.PARMCNT=0
NNM1927 NCL 001098 15 3 1 0 THEN DO
NNM1927 NCL 001098 16 4 2 0 SAY "You must enter at least one word"
NNM1927 NCL 001098 17 5 2 0 EXIT
NNM1927 NCL 001098 18 6 2 0 END
NNM1927 NCL 001098 21 7 0 0 CMDLINE "GO ID="||&SYS.NCLID||" _Y"
NNM1927 NCL 001098 22 8 0 0 PAUSE VARS=( &PAUSE )
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 ten statements in a backward
direction from the current statement: that is, statements 1 through 8.