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

The Dependent Request and Response Queues
Environments and Command Processing
16–34 106160 Tandem Computers Incorporated
zex1608n: PROCEDURE
/* Uses INTCMD to execute SHOW OCS */
INTCMD SHOW OCS
DO UNTIL &msgno = NNM0999
INTREAD VARS=&msgno TYPE=RESP
INTCONT
END
END zex1608n
The following screen shows the result of executing the first NCL procedure. The first
NCL procedure then executes the second NCL procedure using INTCMD START. The
second NCL procedure then executes a command, SHOW OCS, using INTCMD
SHOW OCS.
(12:03) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1607N
NNM0398 -USERID- TERMINAL --------NAME-------- ------LOCATION------ STATUS
NNM0399 NMTMG #5648197 Mike PUBLICATIONS ACTIVE
NNM0399 NMTMG #5648197 Mike PUBLICATIONS ACTIVE
NNM0399 NMTJN #5648202 John New PUBLICATIONS ACTIVE
NNM0399 NMTKF #5648196 KEN FINLAYSON ACTIVE
&$INT.TEXT is NNM0999 *END*
&$INT.MSGATTR.ALARM is 0
&$INT.MSGATTR.DISPLAY.COLOR is NONE
&$INT.MSGATTR.DISPLAY.BKGCOLOR is NONE
&$INT.MSGATTR.DISPLAY.HLITE is NONE
&$INT.MSGATTR.DISPLAY.INTENS is NORMAL
&$INT.SOURCE.TIME is 1994/05/20 12:03:26.115
&$INT.SOURCE.USER is NMTMG
Word 1 of text is NNM0999
Word 2 of text is *END*
NNM0999 *END*
NNM1005 START ZEX1607N PROCESSING COMPLETE. NCLID 000564
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The results of the SHOW OCS command are passed from NCL process to NCL process
using the INTREAD and INTCONT verbs. Finally, the results are passed to the OCS
window for display. The INTREAD verb uses the VARS keyword to extract the first
word of each message on the response queue, typically the message number. If the
first word is the end message that ends many groups of NonStop NET/MASTER MS
messages—NNM0999 *END*—it displays the contents of some of the substructures in
the MDO variable—&$INT.—that holds the message.