NET/MASTER Network Control Language (NCL) Programmer's Guide
Examples of System-Level NCL Procedures
Developing System-Level NCL Procedures
17–32 106160 Tandem Computers Incorporated
After opening the trace file, you can use the PTrace utility to display records, as the
following screen shows:
(08:53) --------------------- OPERATOR CONTROL SERVICES ----------------------
START OPSYS SEND PTRACE RECORD 1/5
NNM1456 12/16/92 07:59:43.541816 >000.000000 #1 MDS format
NNM1456 Term: $ATP2.#TERM1 Userid: NMTJN Origin: MSGDEL
NNM1456 TEXT: AAAAA
NNM1456 MSGATTR display: 00000000
NNM1456 MSGATTR class: 0000000000000000
NNM1456 MSGATTR alarm: 00
NNM1456 MSGATTR flg:
0000000000000000000000000000000000000000010000000000000000000000
NNM1456 SOURCE time: 1992/12/16 07:59:30.628
NNM1456 SOURCE orig: 06015344504C0A025344504C20202020
NNM1456 SOURCE last: 06015344504C0A025344504C20202020
NNM1456 SOURCE user: NMTJN
NNM1456 SOURCE region: #4297624
NNM1456 SOURCE nclid: 0000000A
NNM1456 SOURCE bkg region: 00
NNM1456
NNM1456 End of Trace file.
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
This PTrace command attempts to display records 1 through 5. However, only one
message was deleted by MSGPROC; therefore, the trace file contains only one record.
The presence of the message in the trace file suggests that the MSGPROC NCL
procedure is working correctly; sending additional messages using a message
generator may confirm this.
The following command terminates your session with the Ptrace utility:
OPSYS CLEANUP STOP
Examples of System-
Level NCL Procedures
This subsection provides examples of EMSPROC, LOGPROC, and MSGPROC
procedures. These examples are not intended to illustrate all possible uses for
EMSPROC, LOGPROC, and MSGPROC—rather, they are intended to give you ideas
for customization.
Note Examples of system-level NCL procedures are distributed with NonStop NET/MASTER MS in your NCL
distribution procedure library.