SNAX Creator-2 Configuration and Control Manual

ADD ENTRY Command
SCF Commands for SNAX Creator-2
4–8 117143 SNAX Creator-2 Configuration and Control Manual
ADD ENTRY Command The ADD ENTRY command is used to define ENTRY objects to the SNAX Creator-2
subsystem. It is a sensitive command.
ADD ENTRY command syntax is as follows:
ADD [ /OUT
file-spec
/ ] ENTRY
manager-name.object-name
, TEXT {
text-string
|
expression
}
OUT
causes any SCF output generated for this command to be directed to the file
file-spec
; it is described in the Subsystem Control Facility (SCF) Reference Manual.
manager-name
is described in Section 3, “Objects for SNAX Creator-2.”
object-name
is an ENTRY object name, as described in Section 3, “Objects for SNAX Creator-2.”
TEXT
is described in Section 5, “Attributes and Built-in Functions for SNAX Creator-2.”
Consideration
For the ADD ENTRY command, the attribute name is validated at initial
configuration, but the attribute value is evaluated and validated only when needed at
logon time.
Examples
In the examples here, $CREA is the name of the SNAX Creator-2 subsystem.
The following example defines an entry MYENTRY:
ADD ENTRY $CREA.MYENTRY, TEXT "a string of max 80 bytes"
The next example defines an entry MYSERV, which is an expression consisting of seven
built-in functions separated by blanks. Since these blanks are enclosed in the double
quotes, they are part of the expression. These blanks are considered literal characters,
and they are not ignored when the expression is evaluated.
ADD ENTRY $CREA.MYSERV, TEXT "[#OPENNAME] [#REQUESTER] &
[#SERVICE] [#SYSTEM] [#CPUA] [#CPUB] [#APPLFILE]"