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

Debugging an NCL Process From Start to Finish
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–63
Current Output of the NCL
Process
The following screen from ZEX0904N shows the current (incorrect) output from
displaying the calendar:
(06:35) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0904N 02 2020
Calendar for: FEB 2020
Sun Mon Tue Wed Thu Fri Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
MSG QUEUED ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
This screen shows that there is something wrong with the calendar display. The first
display line is displayed correctly: thereafter each day is displayed incorrectly on a
single line.
By examining the incorrect output, it seems likely that the bug is located in the source
code that constructs each message line—that is, in the code that draws the calendar.
Unfortunately, the ZEX0904N NCL procedure has no typographical errors; in this
case, proofreading the source code does not help. To locate the bug, you must debug
the NCL process.
Stop Before continuing with the rest of this section, consider attempting to debug the ZEX0904N NCL process
on your own, without reading the rest of this section.