SNAX Creator-2 Configuration and Control Manual
Built-in Functions
Attributes and Built-in Functions for SNAX Creator-2
5–10 117143 SNAX Creator-2 Configuration and Control Manual
[#REPEAT
prefix
suffix-1
…
suffix-n
]
returns a string of
n
words, each composed of the prefix followed by the
appropriate suffix. For example:
[#REPEAT $PWY 1 2 3]
would return:
$PWY1 $PWY2 $PWY3
[#REQUESTER]
returns the SNA name of the requesting secondary logical unit (SLU).
For SNAX/XF, the SLU name is not defined, so the LU name in the ADD LU
command in the SNAX/XF configuration is used.
For SNAX/APN, this name is the SNA LU name of the requesting terminal. For
example, if the IBM system is a type 2.1 node consisting of a VTAM and an NCP,
this matches the LU name in the LU macro in the NCP definition.
[#SERVICE]
returns the name of the application requested by the user logon.
For SNAX/XF, this is the PLUNAME value from the ESS table entry. For
SNAX/APN, it is the logon APPLID value.
[#SYSTEM]
returns the name of the system on which the CPU and SEGVOL selection are
performed. If the SYSTEM attribute is present, this built-in function returns its
value. If the SYSTEM attribute is not specified, this built-in function returns the
local system on which the SNAX Creator-2 subsystem is running.