File Utility Program (FUP) Management Programming Manual

ORSERV Commands and Responses
File Utility Program (FUP) Management Programming Manual523322-001
5-12
STATUS Command
STATUS Command
After receiving a STATUS command, ORSERV reads the ZZRELOAD file to determine
the status of the reload operation for the specified target file. If ORSERV cannot read
the ZZRELOAD file, it returns an error to the requester.
An ORSERV process accepts only one STATUS command. After returning the status
in the response buffer, ORSERV stops itself.
Command
ZORS-CMD-STATUS
Object Type
ZORS-OBJ-FILE
Tokens in the Command Buffer
ZORS-TKN-FILE token-type ZSPI-TYP-FNAME
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT.
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ALLOW-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in the Response Buffer
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
ZORS-TKN-FILE token-type ZSPI-TYP-FNAME.
ZORS-MAP-STATUS-RESPONSE
def ZORS-DDL-STATUS-RESPONSE.
02 ZSTATUS-AVAILABLE type ZSPI-DDL-BOOLEAN.
02 ZACTIVE type ZSPI-DDL-BOOLEAN.
02 ZINITIATION-TIMESTAMP type ZSPI-DDL-INT4.
02 ZSUSPENSION-TIMESTAMP type ZSPI-DDL-INT4.
02 ZABEND-TIMESTAMP type ZSPI-DDL-INT4.
02 ZRESUMPTION-TIMESTAMP type ZSPI-DDL-INT4.
02 ZCOMPLETION-TIMESTAMP type ZSPI-DDL-INT4.
02 ZPERCENT-DONE type ZSPI-DDL-INT.
02 ZERROR type ZSPI-DDL-INT2.
02 ZERROR-FILE type ZSPI-DDL-FNAME.
02 ZMIN-DSLACK type ZSPI-DDL-INT.
02 ZMAX-DSLACK type ZSPI-DDL-INT.
02 ZMIN-ISLACK type ZSPI-DDL-INT.
02 ZMAX-ISLACK type ZSPI-DDL-INT.
02 ZRATE type ZSPI-DDL-INT.
02 ZEYECATCHER type ZSPI-DDL-INT
02 ZSTATUS-VERSION type ZSPI-DDL-INT
02 ZDEALLOCATE type ZSPI-DDL-BOOLEAN
end.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-RETCODE.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.