SNAX Creator-2 Configuration and Control Manual

Appendix C Configuration Examples
117143 SNAX Creator-2 Configuration and Control Manual C–1
This section provides configuration examples using the SNAX Creator-2 built-in
functions, entries, and user-supplied data. Built-in functions are described in Section
5, “Attributes and Built-in Functions for SNAX Creator-2.”
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).
Note
1. Built-in functions are always enclosed between literal square-bracket characters.
2. SNAX Creator-2 object names are prefixed in SCF commands by the name of the SNAX Creator-2
subsystem you are using to operate on the database. This is the process name assigned when the
RUN CREOBJ command was executed. Throughout this appendix, the name $CREA is used.
Generating the
PATHMON and
PROGRAM Names
The following examples specify the PATHMON and PROGRAM attributes for
Pathway applications. The first example uses literal values; subsequent examples use
built-in functions.
Using Literal Values This example specifies literal values for the attributes PATHMON and PROGRAM.
The application named mypath is configured as follows:
ADD APPL $CREA.C-mypath
, METHOD PATHWAY
, PATHMON " $pmon1 $pmon2 $pmon3 "
, PROGRAM " myprog-1 myprog-2 myprog-3 "
At logon, the PATHMON attribute is assigned one of the values $pmon1, $pmon2 or
$pmon3, and the PROGRAM attribute is assigned one of the values myprog-1,
myprog-2, or myprog-3.
Using the [#REPEAT]
Function
This example shows how to derive PATHMON and PROGRAM values equivalent to
the previous example by using the [#REPEAT] function. The application named
mypath is configured as follows:
ADD APPL $CREA.C-mypath
, METHOD PATHWAY
, PATHMON "[#REPEAT $pmon 1 2 3]"
, PROGRAM "[#REPEAT myprog- 1 2 3]"