SNAX Creator-2 Configuration and Control Manual
Configuring SNAX Creator-2 Objects
Startup and Configuration of SNAX Creator-2
117143 SNAX Creator-2 Configuration and Control Manual 2–7
For example, to enter the expression A[1]~B[2] as the value of an attribute, you need
to enter the expression as follows:
A~[1~]~~B[2~]
Expressions
Expressions can contain literal values, but also one or more of the following items
enclosed in square brackets (to distinguish them from literals):
Names of entries that have been defined by adding an ENTRY object, for example:
ADD ENTRY
myentry
, TEXT "TACL"
Built-in functions that return particular values. For example:
[#OPENNAME] returns the name by which the application accesses the terminal.
[#SERVICE] returns the name of the application requested by the user logon.
The values provided by entries or built-in functions are used when the expression is
evaluated. For example:
METHOD [
myentry
] will evaluate to METHOD TACL.
MESSAGE "[#SERVICE] [#OPENNAME]" will provide a message containing the
names of the application requested and the terminal.
In the following example, C-SERV is an example of literal characters, [MYSERV] is a
reference to an entry, and [#OPENNAME] is an example of a built-in function:
ADD APPL C-SERV, SERVER [MYSERV], MESSAGE [#OPENNAME]
Built-in functions are described in Section 5, “Attributes and Built-in Functions for
SNAX Creator-2.”
User Data
Some SNAX Creator-2 attributes and built-in functions utilize “user data” provided by
the access method. For example, SNAX Creator-2 treats all of the following as user
data:
The CONCDATA value in the SNAX/XF ESS table (coded, using the SNAXUTL
utility, for Tandem-attached terminals)
The DATA value in the user logon or VTAM USS table (used, for example, with
the SNAX/APN extended logon facility)
Adding SU Objects The ADD SU command adds information to the configuration database for an SU
object. (SNAX Creator-2 opens an SU object to communicate with the manager process
of an access method.)
There are three optional attributes for the ADD SU command:
PASSWORD
NAMERULE
PLUNAME