SNAX Creator-2 Configuration and Control Manual
ADD APPL Command
SCF Commands for SNAX Creator-2
4–6 117143 SNAX Creator-2 Configuration and Control Manual
object-name
is an APPL object name, as described in Section 3, “Objects for SNAX Creator-2.”
general-attribute-spec
is a list of attributes, with the values to be assigned to them, that can apply
regardless of the method selected at logon.
pathway-attribute-spec
is a list of attributes, with the values to be assigned to them, that are used only if
the value of the attribute METHOD at logon is PATHWAY. Otherwise, these
attributes are ignored.
tacl-attribute-spec
is a list of attributes, with the values to be assigned to them, that are used only if
the value of the attribute METHOD at logon is TACL. Otherwise, these attributes
are ignored.
server-attribute-spec
is a list of attributes, with the values to be assigned to them, that are used only if
the value of the attribute METHOD at logon is SERVER. Otherwise, these
attributes are ignored.
All attributes are described in Section 5, “Attributes and Built-in Functions for
SNAX Creator-2.”
Consideration
For the ADD APPL command, attribute names are validated at initial configuration,
but attribute values are evaluated and validated only at logon.
Examples
$CREA in the following examples is the name of the SNAX Creator-2 subsystem.
The following example defines a Pathway application MYPATH:
ADD APPL $CREA.C-MYPATH, METHOD PATHWAY, PROGRAM MYPROG, &
PATHMON $PWY
The next example defines a server-started application MYSERVER. The value of the
attribute SYSTEM is an ENTRY object [SYSTEMENTRY]. The value of the attribute
MESSAGE is an expression enclosed in double quotation marks. This expression
consists of a literal character string “do:” followed by five built-in functions. The
blanks in the expression, including those separating the built-in functions, are
considered literal characters; they are not ignored when the expression is evaluated.
ADD APPL $CREA.C-MYSERVER, METHOD SERVER, SERVER $SERV, &
SYSTEM [SYSTEMENTRY], MESSAGE &
"do: [#OPENNAME] [#REQUESTER] [#CPUA] [#APPLFILE] [#2:5]"