File Utility Program (FUP) Management Programming Manual

ORSERV Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
4-22
ORSERV Definitions
ZSPI-TKN-SERVER-VERSION
contains the server version of the ORSERV subsystem.
ORSERV Definitions
ORSERV definitions begin with ZORS- and appear in the source definition files
ZORSTAL, ZORSCOB, ZORSTACL, and ZORSC. The ORSERV definitions are
described here.
ORSERV Message Buffer Declaration
ZORS-DDL-MSG-BUFFER
is the SPI buffer you use for ORSERV commands. An example of this buffer is:
Predefined Token Values
ZORS-VAL-BUFLEN
is the recommended buffer length (in bytes) for all ORSERV command and
response buffers.
ZORS-VAL-BUFLEN-W
is the buffer length in words.
ZORS-VAL-SSID
is the ORSERV subsystem ID. The definition for ZORS-VAL-SSID appears in
ZSPI-TKN-SERVER-VERSION on page 4-22.
ZORS-VAL-VERSION
is the release version number of the ORSERV subsystem.
Note. For more information about the ORSERV definitions, see Section 5, ORSERV
Commands and Responses.
def ZORS-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 ZORS-VAL-BUFLEN
times
depending on Z-OCCURS.
end.