OSI/TS SCF Reference Manual

Examples of Command Files
OSI/TS SCF Reference Manual424832-001
C-16
One TSP Process Supporting Each X25AM Line
network is not very reliable and generates many network disconnections. This can occur
when a remote Transport Layer entity resynchronizes a transport connection, which
causes a new network connection to be established. This new network connection does
not necessarily arrive at the same TSP process that is participating in the
resynchronizing process. However, this situation does not usually develop because
network resets are more likely to occur than disconnections and are handled by the TSP
process without difficulty.
This anomaly in this type of configuration does not occur with class 2.
Command File for a Single TSP Process Supporting Each X25AM
Line
In this example command file, four TSP processes support four X25AM lines. Each line
is configured for three subdevices. (In reality, the number of TSP subdevices for each
line would be much larger.)
The source code file for this example is provided as part of the OSI/TS software. It
resides (by default) in the volume and subvolume $SYSTEM.ZOSITS. The source code
for this example is provided in the file EXCFG7, as follows:
=============================================================
== File: EXCFG7
==
== Example command file for configuring and starting
== processes and subdevices for large applications in which
== a separate TSP process supports each X.25 line
== (X25AM). Each line is configured for three
== subdevices. SCF must be running before you use the
== OBEY command to invoke this file.
==
== NOTE: To use this command file for your subsystem, you
== must supply names and addresses that reflect your
== environment.
=============================================================
==
allow all errors
==
== Abort any processes and subdevices that are running and
== that have the same name as you are configuring.
==
abort su ($tsp1.*, $tsp2.*, $tsp3.*, $tsp4.*)
== Allow time to clean up all SUs.
delay 10
abort process ($tsp1, $tsp2, $tsp3, $tsp4)
==
== Run TSPOBJ to create and start the TSP processes.
== Distribute the load over several CPUs.
==
tspobj/name $tsp1, nowait, cpu 0, pri 170/1
tspobj/name $tsp2, nowait, cpu 1, pri 170/0
tspobj/name $tsp3, nowait, cpu 2, pri 170/3
tspobj/name $tsp4, nowait, cpu 3, pri 170/2
confirm on
=============================================================
== Configure and start X25AM lines.
=============================================================
assume line $x25a
abort,sub all
alter, framemode dce, svcrange (10,60), netid telenet, &
srcaddr "1234", pvcrange (1,9)
start
status $x25a, sub, detail
==
assume line $x25b