SNAX Creator-2 Configuration and Control Manual

BACKUPCPU
Attributes and Built-in Functions for SNAX Creator-2
5–2 117143 SNAX Creator-2 Configuration and Control Manual
Filtering of Attribute Values When a set of values is specified, the values must be separated by blanks and the
entire set enclosed between double quotation marks (" "). SNAX Creator-2 filters out
invalid values (where indicated) and randomly selects one of the remaining values.
Expressions Used As
Attribute Values
Attribute values can be specified as expressions containing literal characters,
references to entries, and built-in functions. If the expression contains blanks, it must
be enclosed between double quotation marks (" "). When an attribute is evaluated (at
configuration or logon time, depending on the command), the value must be valid for
that attribute. For example, PRIMARYCPU must evaluate to an integer in the range 0
through 15; SWAPVOL must evaluate to the name of an accessible disk. See “Attribute
Values” in Section 2 for further details.
BACKUPCPU
Default: The value of the built-in function [#CPUB]
Value: -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
Object: APPL
This attribute is used only when the attribute METHOD has the value TACL. It
specifies the backup CPU for a TACL process.
This attribute is optional. If it is not specified, the value of the built-in function
[#CPUB] is used. Specifying the BACKUPCPU attribute as -1 causes the TACL
application to be started without a backup CPU.
CPUS
Default: All operational CPU numbers
Value: Set of integers, each in the range 0 through 15
(attribute values are filtered for operational CPU numbers)
Object: APPL
This attribute specifies a set of CPU numbers on the system defined by [#SYSTEM]
from which SNAX Creator-2 randomly selects [#CPUA]; the next number becomes
[#CPUB].
If the METHOD attribute has the value TACL, [#CPUA] and [#CPUB] are used in
selecting the primary and backup CPUs when PRIMARYCPU and BACKUPCPU are
not specified.
In general, [#CPUA] and [#CPUB] can be used as values for other attributes to
accomplish any desired purpose. For example, you can use them as values for the
PATHMON and PROGRAM attributes when the METHOD attribute has the value
PATHWAY, as follows:
ADD APPL $CREA.C-MYPATH, METHOD PATHWAY, &
PATHMON $PM [#CPUA], PROGRAM APPL-[#CPUB]
This attribute is optional; if it is not specified, the default is all CPUs that are
operational at logon time.