NET/MASTER Management Services (MS) Command Reference Manual
LBANNER
OCSID
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–171
2. The following NCL procedure sets the OCS window ID of the first OCS window
you enter to ONE and sets the OCS window ID of the other OCS window to TWO
when you enter it:
OCSID: PROCEDURE
IF &SYS.OCS.IDO \= “ONE” THEN
CMD “-OCSID ONE”
ELSE
CMD “-OCSID TWO”
END OCSID
If you execute this procedure as soon as you enter each OCS window, the order in
which you enter and exit either OCS window can be completely random.
Note Alphabetic characters in the term that you are testing must be in uppercase.
The following screen displays the results using two OCS windows:
(13:18) --------------------- OPERATOR CONTROL SERVICES ----------------------
START INITCMD
NNM0363 OCS WINDOW ID SET.
NNM1005 START INITCMD PROCESSING COMPLETE. NCLID 000110
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- ONE
M=>
(13:19) . . . . . . . . . . . . . . . . . .
START INITCMD
NNM0363 OCS WINDOW ID SET.
NNM1005 START INITCMD PROCESSING COMPLETE. NCLID 000114
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- TWO
M=>