SNAX Creator-2 Configuration and Control Manual
Built-in Functions
Attributes and Built-in Functions for SNAX Creator-2
117143 SNAX Creator-2 Configuration and Control Manual 5–9
2. Takes as the first parameter the subsequent string up to the next comma or
end of data (leading and trailing blanks are removed).
3. Takes as the next parameter the string from the next non-blank up to the next
comma or end of data (leading and trailing blanks are removed).
4. Continues as in (3) until the end of the data.
5. If the number of parameters is less than the value (if any) of the MINARGS
attribute, issues an error message.
Consider the following user data:
Case 1: A1, A2, A3, A4
Case 2: B1, B2, B3, B4
The following table shows the values of the built-in functions [#1] through [#4] for
these two cases when NAMERULE is FIRSTWORD and when NAMERULE is
PLUNAMEONLY:
Case 1 Case 2
Built-in
Function
NAMERULE
FIRSTWORD
NAMERULE
PLUNAMEONLY
NAMERULE
FIRSTWORD
NAMERULE
PLUNAMEONLY
[#1] A2 A1 A2 (blank) B1
[#2] A3 A3 B2 B2
[#3] A4 A4 B3 B3
[#4] (empty) (empty) B4 B4
[#
num1
:
num2
]
returns the parameters in the
num1
position to the
num2
position in the logon user
data, separated by commas.
num1
and
num2
must be positive integers. For
example, [#2:5] returns the second through fifth parameters in the logon user data.
See the description of [#
num
].
[#OPENNAME]
returns the name used by the application to access the terminal.
For SNAX/XF, this is the LU name on the ADD LU command in the SNAX/XF
configuration.
For SNAX/APN, this is the generated name of the form
\node.$line.#ZR
nnnnn
where
nnnnn
are digits.