File Utility Program (FUP) Management Programming Manual

ORSERV Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
4-19
Common Definitions
Common Definitions
The ORSERV programmatic commands use SPI standard definitions and ORSERV
definitions. Although this subsection provides a general description of these definitions,
for specific information about each definition, see Section 5, ORSERV Commands and
Responses, or Appendix C, ORSERV Error Messages.
SPI Standard Definitions
SPI standard definitions begin with ZSPI- and appear in the source definition files
ZSPITAL, ZSPICOB, ZSPIPAS, ZSPIC, and ZSPITACL.
Note. All definitions are shown in DDL (or COBOL85) format using hyphens (-) as separators.
If you are programming in TAL or TACL, substitute the circumflex (^) symbol for the
hyphens.
If you are programming in C, substitute the underscore (_) symbol for the hyphens.
Note. For more information, see Source Definition Files
on page 4-9.
Table 4-3. SPI Standard Definitions Used by ORSERV (page 1 of 2)
Header Tokens
ZSPI-TKN-CHECKSUM ZSPI-TKN-LASTPOSITION ZSPI-TKN-SERVER-VERSION
ZSPI-TKN-COMMAND ZSPI-TKN-MAX-FIELD-
VERSION
ZSPI-TKN-SSID
ZSPI-TKN-HDRTYPE ZSPI-TKN-MAXRESP ZSPI-TKN-USEDLEN
ZSPI-TKN-LASTERR ZSPI-TKN-OBJECT-TYPE
ZSPI-TKN-LASTERRCODE ZSPI-TKN-POSITION
Special Tokens
ZSPI-TKN-ADDR ZSPI-TKN-INITIAL-
POSITION
ZSPI-TKN-OFFSET
ZSPI-TKN-CLEARERR ZSPI-TKN-LEN ZSPI-TKN-RESET-BUFFER
ZSPI-TKN-COUNT ZSPI-TKN-NEXTCODE
ZSPI-TKN-DEFAULT-SSID ZSPI-TKN-NEXTTOKEN
Other Simple Tokens
ZSPI-TKN-ALLOW-TYPE ZSPI-TKN-ENDLIST ZSPI-TKN-RESPONSE-TYPE
ZSPI-TKN-COMMENT ZSPI-TKN-ERRLIST ZSPI-TKN-RETCODE
ZSPI-TKN-CONTEXT ZSPI-TKN-ERROR ZSPI-TKN-SERVER-BANNER
ZSPI-TKN-DATALIST ZSPI-TKN-PARM-ERR
Value Names
ZSPI-SSN-ZORS ZSPI-VAL-FALSE ZSPI-VAL-TANDEM
ZSPI-VAL-TRUE