OSI/TS SCF Reference Manual

Examples of Command Files
OSI/TS SCF Reference Manual424832-001
C-13
Single TSP Process Supporting Multiple X25AM
Lines
Startup time. The startup time may be longer if a large number of subdevices need to
be added before any connection is established.
Command File for a Single TSP Process Supporting Multiple
X25AM Lines
In this next example command file, a single TSP process supports 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 EXCFG6, as follows:
=============================================================
== File: EXCFG6
==
== Example command file for configuring and starting
== processes and subdevices for large applications in which
== a single TSP process supports multiple X.25 lines
== (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.*
== Allow time to clean up all SUs.
delay 10
abort process $tsp1
==
== Run TSPOBJ to create and start the TSP processes.
==
tspobj/name $tsp1, nowait, cpu 0, pri 170/1
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
abort,sub all
alter, framemode dce, svcrange (10,60), netid telenet, &
srcaddr "4321", pvcrange (1,9)
start
status $x25b, sub, detail
==
assume line $x25c
abort,sub all
alter, framemode dce, svcrange (10,60), netid telenet, &
srcaddr "5678", pvcrange (1,9)
start
status $x25c, sub, detail
==
assume line $x25d