TS/MP Management Programming Manual (G06.24+, H06.03+)

ZPWY-TKN- Definitions
NonStop TS/MP Management Programming Manual540082-001
6-3
ZPWY-TKN-DEF-SCDEFINE
ZPWY-TKN-DEF-SCDEFINE
This token is a variable-length byte string that contains saved DEFINE attributes. A
saved DEFINE is an internal file name representation created when you set DEFINE
attributes, add a DEFINE name, or save a DEFINE using Guardian procedures.
The first two bytes of the string is the length of the saved DEFINE that follows, in bytes.
The third byte is the start of the DEFINE.
For more information about DEFINEs, see the TACL Reference Manual and the
Guardian User’s Guide. For examples on how to add a DEFINE to a Pathway
subsystem server class and obtain information about a DEFINE, see Section 16,
Server Class DEFINE Examples.
ZPWY-TKN-DEF-SCENV
This token specifies all OSS environmental variables to be passed to the OSS server
processes in the server class. Within a server process, environment variables are
available as an array of null-terminated strings, ending with a null pointer, pointed to by
the external variable environ [ ].
The first two bytes of the string is the length, in bytes, of the environment variable list
that follows. The third byte is the start of the list. Each environment variable is in the
form name=value and is terminated by a null. The string value can be a null value.
The length of the list can be from 3 through 24,000 bytes. However, the total length of
ZPWY-TKN-DEF-SCENV and ZPWY-TKN-DEF-SCARGLIST cannot exceed 24,000
bytes.
In addition, environment variable names (name) cannot contain an equal sign (=). (The
first equal sign encountered is used as the delimiter for the environment variable
name.) However, an equal sign can be included in the value. For example, to specify
an environment variable named env1 having a value of abc=cba, enter:
env1=abc=cba
If you do not assign a value for this field when adding a server class, no environmental
information is sent to the server processes in this server class.
To reset the value for this token in an ALTER command, specify a string length of 0 in
the first two bytes of the string. If the token is not included in the command buffer, the
current value is not changed.
def ZPWY-TKN-DEF-SCDEFINE token-type ZSPI-TYP-
BYTESTRING.
def ZPWY-TKN-DEF-SCENV token-type ZSPI-TYP-
BYTESTRING.