SNAX Connection Manager (SNAX/CM) Manual
User Process Procedures
SNAX/CM Sample Server
C–8 097842 Tandem Computers Incorporated
Server OBEY Command The sample server OBEY command causes SXCMSV to read subsequent commands
from a disk edit file until EOF is reached in the edit file. The command (OBEY) file is
always read by the interface process (provided in this example), and the commands in
the disk file are sent to the SXCMGR process, if selected, one line at a time.
The syntax for the server OBEY command is as follows:
OBEY
file-name
file-name
identifies the disk edit file from which SXCMSV reads a series of commands.
User Process
Procedures
Procedures to start and terminate applications that use connected LUs are the heart of
the example server process (SXCMSV) in this appendix. SXCMSV allows four optional
process types, but supplies examples of code for only two of them. A procedure to
connect and to disconnect is provided for each of the two example options.
To modify these samples, users must compile the user procedures separately and bind
the modified object to SXCMSV. To compile the user procedures separately, users
should base their code on the following TAL source files described in this subsection
(and provided on the release tape):
A command(OBEY) file, used to compile and bind user procedures
A BIND IN file, named IUBIND
An example of a TAL compile control file, named SVUSERC
A definitions file, named SVUSERD
Compiling and Binding
User Procedures
Following is an example of a command (OBEY) file used to compile and bind the user
procedures:
ASSIGN extdecs, $SYSTEM.SYSTEM.EXTDECS
TAL/in svuserc,out $s.#svu,nowait/svusero
BIND/in iubind, out $s.#svb/
Example BIND IN File Following is an example of a BIND IN file named IUBIND:
ADD * FROM sxcmsv
ADD CODE * FROM svusero,delete
BUILD sxcmsv !