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

Starting a Single Debug Session
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–23
The Results of Targeting a Window
The following scenarios illustrate the results of targeting a window by using the
WINDOW operand of the DEBUG START command in more detail. It does so from
the perspective of an OCS screen in window 1.
Targeting Neither Window From OCS Window 1. From an OCS screen in window 1, if you
target neither window 1 nor window 2, by omitting the WINDOW operand altogether,
the current execution environment is targeted for debugging. (This is the result of the
ENV=CURRENT operand of the DEBUG START command.) From an OCS screen in
window 1, the current execution environment is the primary processing environment
associated with the OCS screen. You can target currently executing, newly executed,
or both types of NCL processes in the environment.
For example, the following command (entered from an OCS screen in window 1)
targets newly executed NCL processes in OCS window 1:
DEBUG START
The following message displays the results of the command in OCS window 1:
NNM1949 NEW NCL WILL BE SUSPENDED IN CURRENT ENVIRONMENT
Note If you target another user by specifying either the USER or TERM operand of the DEBUG START
command without specifying a window, the DEBUG START command targets one or both windows
owned by the user—one open window if only one is open, or both open windows if both are open.
Targeting Window 1 From OCS Window 1. From an OCS screen in window 1, if you
explicitly target window 1, the primary processing environment associated with the
OCS screen in window 1 is targeted for debugging. (This environment is the current
execution environment.) You can target currently executing, newly executed, or both
types of NCL processes in the environment.
For example, the following command (entered from an OCS screen in window 1)
targets currently executing NCL processes in OCS window 1:
DEBUG START PROCS=CURRPROCS WINDOW=1
The following message displays the results of the command in OCS window 1, if no
NCL processes are currently executing:
NNM1088 NO NCL PROCESSES TARGETED IN WINDOW 1
The following message displays the results of the command in OCS window 1, if NCL
processes are currently executing:
NNM1088 1 NCL PROCESSES TARGETED IN WINDOW 1
NNM1901 NCL 001527 DEBUG SESSION INITIATED
NNM1902 NCL 001527 SUSPENDED AT ZEX0902N.8 LINE 22