OSI/TS SCF Reference Manual

OSI/TS SCF Reference Manual424832-001
C-1
C
Examples of Command Files
This appendix contains examples of command EDIT files of Guardian and SCF
commands used to set up particular subsystem configurations. Because each of these
examples contain a mixture of SCF and other commands, use the TACL OBEY
command to invoke the appropriate file. The five examples configurations are as
follows:
OSI/TS on an X.25 network
OSI/TS on an X.25 network with SNDCF and Full-IP
OSI/TS on a LAN with Full-IP and no ES-IS
OSI/TS on a LAN with Full-IP and ES-IS
OSI/TS on a LAN with Null-IP
Also included are two examples of configuring large applications (with examples of
configuration command files):
Single TSP for multiple X25AM lines
Separate TSP for each X25AM line
You can develop a configuration command EDIT file by making a log file of your
interactive commands while they are executing. After executing the necessary
configuration commands, edit the log file, deleting any messages or command output
that was returned. Use the resulting file as your configuration command file.
By changing command files that already exist, you can create new configuration
command files to perform tasks for your installation. If the command sequence of an
existing command file follows fairly closely to the sequence of tasks you need to
perform, you can save time by using that file’s basic structure. Unless you invoke the
new file, however, the system will not implement the changes.
When using command files, you might want to use the SCF DELAY command to
suspend activity for a short time to allow a command to complete. This is most likely to
be needed when a command that is time-consuming—such as a command that uses a
wild-card name to abort many subdevices—is followed by commands that depend on
the the completion of the first command. The DELAY command is also more likely to
be needed when the CPU in which the TSP process runs is heavily loaded.
For example, the command following an ABORT command in a command file could
conceivably complete before the object aborts. Issuing a DELAY command allows an
ABORT command to complete before the next command is entered. In addition, the
SCF ALLOW command with the ALL option allows a command file to complete
despite the occurrence of errors that might otherwise cause the execution of the
command file to terminate.
Because it slows down the execution of command files, the DELAY command should
not be overused.