File Utility Program (FUP) Management Programming Manual

FUP Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
2-27
FUP Definitions
FUP Definitions
FUP definitions begin with ZFUP- and are found in the source definition files ZFUPTAL,
ZFUPCOB, ZFUPTACL, and ZFUPC. For more information about FUP definitions, see
Section 3, FUP Commands and Responses.
FUP Message Buffer Declaration
ZFUP-DDL-MSG-BUFFER
is the SPI buffer you use for the FUP commands. For example:
Predefined Token and Field Values
ZFUP-VAL-BUFLEN
is the recommended buffer length in bytes for all FUP command buffers.
ZFUP-VAL-SSID
is the FUP subsystem ID.
ZFUP-VAL-VERSION
is the version number of the FUP subsystem.
For more information about predefined token and field values, see Section 3, FUP
Commands and Responses.
Simple Tokens and Structured Tokens
For descriptions of these tokens for each FUP command, see Section 3, FUP
Commands and Responses.
Tokens in Error Lists
These tokens are used in FUP error lists. For more information about FUP error lists,
see Handling FUP Errors on page 2-17.
ZFUP-MAP-CMD-ERROR
contains these fields:
def ZFUP-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 ZFUP-VAL-BUFLEN times
depending on Z-OCCURS.
end.