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

Starting a Single Debug Session
Debugging an NCL Process
9–26 106160 Tandem Computers Incorporated
To arrive at the screen in this example, commands and operations were performed in
the following sequence:
1. OCS was selected from the NonStop NET/MASTER MS primary menu in
window 1.
2. The OCSID ONE command was executed from the OCS command input line to
identify OCS window 1.
3. The F2 function key was pressed, and the screen was horizontally split in the
middle.
4. OCS was selected from the NonStop NET/MASTER MS primary menu in
window 2.
5. The OCSID TWO command was executed from the OCS command input line to
identify OCS window 2.
6. The cursor was moved to the OCS window 1 command input line and the DEBUG
START WINDOW=2 command was executed.
7. The cursor was moved to the OCS window 2 command input line and the START
ZEX0902N command was executed.
8. The cursor was moved to the OCS window 1 command input line and the DEBUG
STEP command was executed. The result shows that the default NCL ID is
correctly set to that of the current NCL process, ZEX0902N.
Note When you are debugging a MSGPROC NCL process, you should start a debug session in one OCS
window, targeting NCL processes in the other OCS window, and then execute the PROFILE MSGPROC
command in the targeted window.
When you are debugging an NCL process that displays a panel, you should start a debug session in one
OCS window, targeting NCL processes in the other OCS window, and then execute the NCL procedure
that displays the panel in the targeted window.
Targeting a Specific User’s
NCL Processes
You can target NCL processes owned by a specific user (including your own NCL
processes) when you start a debug session. You can do so in two ways:
By specifying the user ID of a user who is currently logged on. To do so, use the
USER operand of the DEBUG START command. For example:
DEBUG START USER=NMTJN
By specifying the terminal name of a user who is currently logged on. You can
specify either the logical name or the physical name of a terminal. To do so, use
the TERM operand of the DEBUG START command. For example:
DEBUG START TERM=#8536078
For a user who is logged on to NonStop NET/MASTER MS once, the effect of both
these methods is the same: both operands target one or more NCL processes owned
by a specific user.