TMF Management Programming Manual (G06.26+)
Common Definitions
HP NonStop TMF Management Programming Manual—522420-003
4-5
Buffer Declarations
Buffer Declarations
TMF provides the following buffer declarations for message buffers you can use with 
the SPI procedures. All applications should use one of these declarations for a buffer 
of the recommended size.
ZTMF-DDL-MSG-BUFFER
is a message buffer of the appropriate size for use with the SPI procedures. 
ZTMF-DDL-MSG-MINBUFFER
is a message buffer of the minimum size for use with the SPI procedures.  
Table 4-9. TMF Buffer Declarations
ZTMF-DDL-MSG-BUFFER
ZTMF-DDL-MSG-MINBUFFER
ZTMF-DDL-MSG-MAXBUFFER
ZTMF-VAL-BUFLEN
ZTMF-VAL-BUFLEN-W
ZTMF-VAL-MAXBUFLEN
ZTMF-VAL-MAXBUFLEN-W
ZTMF-VAL-MINBUFLEN
ZTMF-VAL-MINBUFLEN-W
Table 4-10. TMF Private Token and Field Types 
ZTMF-TYP-CHILDREN
ZTMF-TYP-MEDIA
ZTMF-TYP-DISKMEDIA
ZTMF-TYP-USERNAME
Table 4-11. TMF Predefined Token and Field Values 
ZTMF-VAL-SSID ZTMF-VAL-VERSION
def ZTMF-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 ZTMF-VAL-BUFLEN times
 depending on Z-OCCURS.
end.
def ZTMF-DDL-MSG-MINBUFFER.
 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 ZTMF-VAL-MINBUFLEN times
 depending on Z-OCCURS.
end.










