SNAX/XF LU Network Services Manual

SNAX/XF Utility Overview
Introduction to LUNS
097841 Tandem Computers Incorporated 1–13
BEGIN
SELECTFILE $SYSTEM.SNAX.ESSTAB1, TYPE ESS
ALLOCATE 10
ADD ESSCMD MYTACL, & ! verb, modifier, object
CMDTYPE LOGON-CHAR, & ! command-type operand
PLUNAME #TACL, & ! subdevice-name operand
PROTOCOL ITI, & ! protocol operand
CONCDATA "TACL, CPU 0" ! concatenated-data
! operand
ADD ESSCMD CRED, & ! verb, modifier, object
CMDTYPE LOGON-CHAR, & ! command-type operand
PLUNAME #PATH, & ! subdevice-name operand
PROTOCOL CRT, & ! protocol operand
CONCDATA ("PATHWAY ", & ! concatenated-
"NAME $PATHX,", & ! data operand
"PROGRAM CREDIT")
END
When the command file is complete, you invoke the SNAXUTL program to create the
new ESS table:
TACL> SNAXUTL/IN
command-file
, OUT
listfile
/
Creating or adding to a table involves two files in addition to the command file:
1. The table source file, a key-sequenced file by which SNAXUTL accesses the
various records
2. The table object file, an unstructured file into which SNAXUTL copies the table
source file and from which LUNS takes the information it needs for processing
In the SELECTFILE command that names or selects a table, only the table source file
need be specified. When a new table is created, SNAXUTL automatically gives the
table object file a name, and the subsequent ALLOCATE command allocates space for
both files. When a table is changed through SNAXUTL, both files are updated
simultaneously.
SNAXUTL also provides a DELETE command. This command is the reverse of the
ADD command; it permits the deletion of individual records from a table.
Note that SNAXUTL allows you to modify a currently active ESS table dynamically.
Dynamic ESS table modification requires that you:
Define SNAXUTL as an APPL object through SCF
Specify the DEACTIVE operand of the SNAXUTL SELECTFILE command
For further details, see “Modifying ESS Tables Dynamically” in Section 2. For
complete SNAXUTL syntax, see Appendix A.