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–9
ADD APPL $CREA.C-mypath
, METHOD PATHWAY
, PATHMON [mypathmons]
, PROGRAM [myprogs]
When a logon for the application mypath is received, the preceding ADD APPL
command is evaluated as follows:
ADD APPL $CREA.C-mypath
, METHOD PATHWAY
, PATHMON "$pmon1 $pmon2 $pmon3"
, PROGRAM "prog1 prog2"
Adding APPL Objects The ADD APPL command is used to add APPL objects to the SNAX Creator-2
configuration database. APPL objects identify named applications to SNAX Creator-2.
SNAX Creator-2 supports three methods of starting applications. When defining
APPL objects, the method is specified with the METHOD attribute as one of the
following values:
TACL, which is used to initiate TACL processes, and which causes the program
$SYSTEM.SYSTEM.TACL to be initiated.
PATHWAY, which is used to initiate SCREEN COBOL requester programs, and
which causes a Pathway RUN PROGRAM command to be sent to the named
PATHMON process.
SERVER, which is used to initiate other applications started by a user-supplied
server process.
The following example configures the application named mytacl as a TACL
application:
ADD APPL $CREA.C-mytacl
, METHOD TACL
In addition to the required METHOD attribute, the APPL object supports four optional
attributes that are common to all three types of applications, as well as attributes that
are specific to each type of application.
The optional attributes that are available for all three types of applications are:
CPUS, which specifies the set of CPUs from which the [#CPUA] and [#CPUB]
built-in functions are selected. In TACL applications, these are the defaults for the
primary and backup CPUs. Inoperative CPUs are never chosen.
MINARGS, which specifies the minimum number of comma-separated parameters
that may be passed in the user data of the logon data stream.
MAXARGS, which specifies the maximum number of comma-separated
parameters that may be passed in the user data of the logon data stream.
SYSTEM, which specifies the Tandem system on which the CPU selection is
applied. For TACL applications, it also defines where the TACL application
executes.