OSI/AS Configuration and Management Manual

Examples of Configuration Command Files
OSI/AS Configuration and Management Manual424119-001
A-13
OSI/AS, Large Application, Over an X.25 Network
OSI/AS, Large Application, Over an X.25 Network
The source code file for this example is provided as part of the OSI/AS software. It
resides (by default) in $SYSTEM.ZOSIAS.EXCFG6.
This example shows a configuration for a large X.25 application running without
SNDCF, requiring three TAPS processes, three TSP processes, and three NSP processes,
all controlled by a single OSI manager process.
=============================================================
== File: EXCFG6
==
== Example command file for configuring and starting OSI/AS
== over an X.25 subnetwork, for a large application.
== SCF must be running before you use the SCF OBEY command
== to invoke this file.
==
== NOTE: To use this command file, you must put in names
== and addresses to reflect your environment.
=============================================================
== Guardian commands for preparing the subsystem:
=============================================================
==
== Clean up the OSI/AS subsystem first!
==
allow 7 errors
stop process $OSIM
stop process $TAPS1
stop process $TAPS2
stop process $TAPS3
stop process $TSP1
stop process $TSP2
stop process $TSP3
==
== Create new MIB.
==
fup purge (ZOSIDB,ZOSIDB0) !
fup /in dbfup/
==
== Create new OSI manager process.
==
$SYSTEM.SYS01.OSIMGR/nowait, name $OSIM, swap $DISK1 &
, cpu 2/ 3
=============================================================
== SCF commands for configuring the subsystem:
=============================================================
allow all errors
=============================================================
== Configure OSI manager process.
=============================================================
alter subsys $OSIM, mib ZOSIDB
start process $OSIM
version $OSIM
=============================================================
== Define NSP processes.
=============================================================
add process $OSIM.#nsp.X251, name $X251
add process $OSIM.#nsp.X252, name $X252
add process $OSIM.#nsp.X253, name $X253
=============================================================
== Define TSP processes.
=============================================================
add process $OSIM.#tsp.TSP1, name $TSP1 &
, codefile $SYSTEM.SYS01.TSPOBJ