OSI/TS Configuration and Management Manual

Configuring the OSI/TS Subsystem
OSI/TS Configuration and Management Manual424831-001
3-25
Command File for Configuring OSI/TS Over an X.25
Network, Using SNDCF
, altclass 2, multiplex on &
, x25port 8
==
start su ($tsp1.*, $tsp2.*)
Command File for Configuring OSI/TS Over an
X.25 Network, Using SNDCF
This is an example of a command file to configure a loopback test over an X.25
network, using SNDCF. In this configuration, there are two TSP processes: $tsp1 is the
local process (the initiator), and $tsp2 is the remote process (the responder). Each TSP
process has SNDCF enabled and is configured with one subdevice. Connections can be
made between the two SNDCF subdevices.
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 EXCFG2, as follows:
=============================================================
== File: EXCFG2
==
== Example command file for configuring and starting
== processes and subdevices for OSI/TS over an X.25 network
== (X25AM), using SNDCF. 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.*)
== Allow time to clean up all SUs.
delay 10
abort process ($tsp1, $tsp2)
==
== Run TSPOBJ to create and start the TSP processes.
==
tspobj/name $tsp1, nowait, cpu 1, pri 170/2
tspobj/name $tsp2, nowait, cpu 1, pri 170/2
confirm on
=============================================================
== Alter service to enable SNDCF.
==
== NOTE: Since you must alter the service to enable SNDCF,
== you cannot simply add these SCF commands to the previous,
== generic, X.25 example command file.
=============================================================