File Utility Program (FUP) Management Programming Manual

ORSERV Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
4-21
SPI Standard Definitions
ZSPI-TKN-OBJECT-TYPE
contains the object-type number for the ORSERV object. The object-type for
ORSERV commands is ZORS-OBJ-FILE (except for the GETVERSION command,
which is ZORS-OBJ-NULL).
ZSPI-TKN-RETCODE
is the return token. Table 4-4 shows the ZSPI-TKN-RETCODE values common to
all ORSERV commands:
ZSPI-TKN-SSID
contains ZORS-VAL-SSID, the subsystem ID of the ORSERV subsystem. ZORS-
VAL-SSID has this structure:
Table 4-4. Errors Returned by All ORSERV Commands
Error
Number
Symbolic Name
(ZORS-ERR-) Description
0 OK The command completed successfully.
1 INV-COMMAND ORSERV found an invalid command.
2 INV-OBJECT ORSERV found an invalid object type.
3 INVALID-TOKEN ORSERV found an invalid token.
4 MISS-TOKEN ORSERV detected a missing token.
5 MISS-FIELD ORSERV detected a missing field in a structured token.
6 EXTRA-TOKEN ORSERV found an extra token.
7 INV-VALUE ORSERV found an invalid token or field value.
8 LONG-COMMAND A command was too long for the buffer.
9 WRONG-SSID The application specified an invalid ORSERV subsystem ID.
10 WRONG-SERVER The application specified an invalid ORSERV server.
11 SPI An SPI subsystem error occurred.
12 PE A programming error occurred.
13 FILESYS A file-system error occurred.
14 GUARD A NonStop Kernel error occurred.
def ZORS-VAL-SSID tacl ssid.
02 Z-FILLER type character 8
value is ZSPI-VAL-TANDEM.
02 Z-OWNER type ZSPI-DDL-CHAR8
redefines Z-FILLER.
02 Z-NUMBER type ZSPI-DDL-INT
value is ZSPI-SSN-ZORS.
02 Z-VERSION type ZSPI-DDL-UINT
value is ZORS-VAL-VERSION.
end.