222 • STN Reference HP NonStop SSH Reference Manual
STNCOM
STNCOM is the system operator interface to STN. STNCOM provides for configuration, status, and maintenance
requests. You can store your STNCOM commands in an EDIT format disk file or enter them conversationally. You can
direct your output to a terminal, printer, disk file, or spooler. Standard OBEY and FC commands are provided. A built-in
HELP command is used; you can easily change the HELP dictionary or extend it to conform to local requirements by
modifying the supplied STNCHELP EDIT file. When STNCOM is run, an implied OPEN $STN command is issued
prior to prompting for input. STNCOM commands can be continued over multiple lines. When an ampersand ("&")
appears as the last character on a line, the command is continued with the first column of the next line. There is no limit
on the number of lines over which a command may be continued, but commands are limited to 1024 characters. If
STNCOM is prompting at a terminal for input, the prompt for continuation lines will be the current prompt prefixed by
ampersand ampersand space: "&& ". Continuations are allowed from terminals, IN files and OBEY files.
To start STNCOM, use the standard TACL RUN command, as shown in the following examples:
1> RUN stncom $stn
2> stncom $stn1 ; info stn ; e
3> stncom / IN stnin4 , OUT $s /
4> stncom $stn1 ; TRACE $system.stn.trace3,1M ; e
The following illustrates a sample session:
STNCOM T0801H01_23JAN2012_ABA
OPEN $STN
% info service
info service
SERVICE TACL
TYPE DYNAMIC
PROG $SYSTEM.SYSTEM.TACL
% version
version
G007I \T.$STN 1,835
G000I STN B15 15NOV2011
G001I Copyright 1984-2011 Gemini Communications Inc. All rights reserved.
% exit
Exit
Starting with SPR T0801^ABE, the following banner and version info is displayed:
STNCOM T0801H01_24JAN2013_ABE
OPEN $STN
------------------------------------------------------------------------------
- \T $STN STN B21 04JAN2013 T0801H01_24JAN2013_ABE 14:55 -
------------------------------------------------------------------------------
% version
version
Version STN B21 04JAN2013
Vproc T0801H01_24JAN2013_ABE
Link gmt 04JAN2013_230358
Program object file $QAHPSSH.T0801ABE.STN type 800
Node \T
Process $STN 0,1164