Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

Running DSNMCom From an Input File
7-4
109759Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNMCom: The I Process Test Utility
Running DSNMCom From an Input File
Use the IN file name option with the RUN command to provide DSNMCom with a set
of commands to execute. For example, to execute a set of DSNM commands in file
EXCMDS, using the configuration file pointed to in section TEST of
$SYSTEM.SYSTEM.DSNM, type:
> DSNMCOM /IN EXCMDS/ DSNM TEST $process-name
.
DSNM command output
.
>
The end of file (EOF) of the input file terminates the DSNMCom process; control of the
terminal returns to TACL. (EOF is the same as typing EXIT.)
To execute the commands located in file EXCMDS and send the output to printer $HT1,
type:
> DSNMCOM /IN EXCMDS,OUT $S.#HT1,NOWAIT/ DSNM TEST &
$process-name
>
The Comment Character, COMMENT-CHAR
To have input recognized as comments by DSNMCom, you must precede each comment
line with one COMMAND-CHAR character and one COMMENT-CHAR character. By
default, both are the period (.) and both are set using the DSNMCom SET command,
discussed later in this section.
To have an input line be interpreted as a comment by DSNMCom, use the following
syntax:
With both COMMAND-CHAR and COMMENT-CHAR set to a period (.), an example
would be the following:
..setting PAID is optional
Using the Break Key
Use the Break key to stop a command that is listing information to the screen.
DSNMCom then returns to the DSNMCom prompt.
If you press the Break key from within DSNMCom when a listing command is not
executing, control of the terminal returns to TACL. DSNMCom continues to run in the
background. From the TACL prompt, you can:
Type PAUSE to return to DSNMCom.
Type STOP to stop the running DSNMCom process.
COMMAND-CHAR COMMENT-CHAR comment-text