TCP/IP TELNET Management Programming Manual
Common Definitions for the TELNET Subsystem
Common Definitions
53474 Tandem Computers Incorporated 5–15
ZTNT-DDL-MSG-BUFFER
is the message buffer declaration recommended for command messages and for
responses in which each response message will contain a single response record.
def ZTNT-DDL-MSG-BUFFER.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-UINT.
02 Z-OCCURS type ZSPI-DDL-UINT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZCOM-VAL-BUFLEN times
depending on Z-OCCURS.
end.
ZTNT-DDL-MSG-MAXBUFFER
is the message buffer declaration recommended for responses in which each
response message will contain multiple response records.
def ZTNT-DDL-MSG-MAXBUFFER.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-UINT.
02 Z-OCCURS type ZSPI-DDL-UINT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZCOM-VAL-MAXBUFLEN times
depending on Z-OCCURS.
end.
TELNET Private Token and
Field Types
Private tokens are those tokens used only by your subsystem. A token type defines
the data type and length of a token. A field type defines the data type and length of a
field within a structured token. The TELNET subsystem defines only the following
private token types:
ZTNT-TYP-CAUSE
ZTNT-TYP-SEV
ZTNT-TYP-TRACE
ZTNT-TYP-WIN-TRACE
ZTNT-TYP-CAUSE
defines the token type of the values of the ZCOM-CAUSE-SUMSTATE-CHG token
as enumerated values.