SNAX Connection Manager (SNAX/CM) Manual
Appendix C SNAX/CM Sample Server
097842 Tandem Computers Incorporated C–1
This appendix contains an example of a user-written server process named SNAX/CM
Server (SXCMSV) to use with SNAX/CM. This example is not a prerequisite to using
SNAX/CM.
Note The sample code is for illustration only and is not supported. You can add code to this example process
to customize it as your requirements dictate, or you can write the entire server process yourself.
The sample code for the server process supports the Tandem process environment and
supports environments in the Tandem NonStop Kernel that accept user commands.
Such user commands are used to configure a server so that it is available at the time a
connection is made. The sample server is provided on the Site Update Tape (SUT)
with an object file and examples of how to write code to start up processes after
making connections.
The sample server SXCMSV is run as a named process. You can use SXCMSV as the
user-provided server to start a TACL process for connected primary LUs, or to start
Exchange for connected secondary LUs.
Sample Server Text
Commands
This section discusses sample SXCMSV text commands provided specifically for this
server programming example. These commands allow users to configure applications
that use connected PUs and LUs. You can use the command syntax provided for this
example, or write your own.
The syntax for server commands in the SXCMSV example includes the following:
command
[
option
] [,
option
] .. [,
option
]
where
command
is one of
ADD | ASSUME | DELETE | ENVIRONMENT | EXIT | HELP |
LOG | OBEY
Definitions are provided for each command, in alphabetical order.