HP-UX SNAplus2 R7 Administration Guide

Appendix CConguring an Invokable TP from the Command Line
Ensure that the TP appends data to an existing le instead of creating the le (so that all copies of
the TP append data to the same le)
Design the TP to generate le names at run-time, based on the process ID with which the TP is
running (so that each copy of the TP writes to a different le).
This line is optional. If it is not included, or if an invalid value is specied, the default is QUEUED.
TIMEOUT
The maximum length of time, in seconds, that a Receive_Allocate call issued by the TP should block if there
is no incoming Allocate request pending. If no incoming Allocate is received in this time, the call fails with
a return code indicating State check - Allocate not pending.
A timeout value of 0 indicates that the call always fails unless an incoming Allocate is already pending when
the call is issued. A timeout value of
1 indicates that the call waits indenitely for an incoming Allocate
and does not time out.
This line is optional. If it is not included, or if an invalid value (a non-numeric value) is speci
ed, the default
is 1 (innite).
Do not specify this parameter if the
TYPE parameter is set to NON-QUEUED. SNAplus2 uses a timeout value
of 0 for nonqueued TPs, because the TP is always started in response to an incoming Allocate and so there
is always one pending.
UNIX
USERID
Specify the user ID that SNAplus2 uses to start the TP. The TP is started in the home directory associated
with this user ID. This home directory is also the default path for trace les and any other les accessed by
the TP (unless the application overrides it by specifying a full path). If the application species a le name
without a path, SNAplus2 searches for the le in this home directory; if the application species a le name
with a relative path, SNAplus2 searches for the le in the specied directory relative to this home directory.
This line is required, and must be specied. The ID must be a valid login ID on the SNAplus2 computer; it
can be up to 64 characters, unless your HP-UX conguration restricts user names to fewer characters.
The executable le for the TP, specied by the PAT H parameter, must have execute permission for the
specied user. In addition, if USERID is set to root, the le must be owned by root and must have setuid
and setgid permission in order to be started automatically by SNAplus2.
GROUP
Specify the group ID that SNAplus2 uses to start the TP. This must be a valid group ID on the SNAplus2
computer; it can be up to 64 characters, unless your HP-UX conguration restricts group names to fewer
characters.
This line is optional; if it is not included, the default is other.
LUALIAS
Specify the local LU alias from which the TP is to accept incoming Attaches.
Note
This parameter can be used only if the TP is an APPC TP. If the TP is a CPI-
C application, do not specify this parameter. CPI-C does not support accepting
incoming Attaches from a particular local LU; specifying an LU alias (even a blank
LU alias) for a CPI-C application will cause errors in routing the incoming Attach
to the TP.
This is an eight-character name that must match the name of a SNAplus2 local APPC LU.
202