PAM Management Programming Manual
Common Definitions
PAM Management Programming Manual—142481
4-10
Header Tokens
Header Tokens
The following EMS standard definitions for header tokens are used by the PAM 
subsystem:
ZEMS-TKN-CONSOLE-PRINT
ZEMS-TKN-CPU
ZEMS-TKN-CRTPID
ZEMS-TKN-EMPHASIS
ZEMS-TKN-EVENTNUMBER
ZEMS-TKN-GENTIME
ZEMS-TKN-LOGTIME
ZEMS-TKN-PIN
ZEMS-TKN-SYSTEM
ZEMS-TKN-USERID
Token Types
ZEMS-TYP-OPMSG is the only EMS standard definition for token types used by the 
PAM subsystem.
PAM Definitions
Definitions whose names begin with ZPAM- are PAM definitions.  They are provided in 
the ZSPIDEF.ZPAMDDL file and in the corresponding files for other languages. Those 
commands that appear in several commands, responses, or event messages are described 
in this section. Definitions are listed in alphabetical order within each category.
Buffer Declaration
The PAM subsystem provides the following buffer declaration for message buffers that 
can be used with the SPI procedures. All applications should use this declaration for a 
buffer of the recommended size.
ZPAM-DDL-MSG-BUFFER 
is a message buffer whose size is that recommended for command messages and for 
responses in which each reply message contains a single response record.
def ZPAM-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 ZPAM-VAL-BUFLEN
 times depending on Z-OCCURS.
end.










