File Utility Program (FUP) Management Programming Manual

Introduction
File Utility Program (FUP) Management Programming Manual523322-001
1-6
SPI With ORSERV
Executing a Sequence of ORSERV Commands
The management application you use must create an ORSERV process for each
programmatic ORSERV command it executes:
1. Your management application creates an ORSERV process and sends it an
ONLINERELOAD command (to perform an online reload operation for a target
file).
The ORSERV process initiates the reload operation, sends a reply to your
management application in the SPI response buffer, and continues the reload
before closing the ORSERV process.
2. Your management application executes a STATUS command (at a later,
predetermined time) to discover the progress of the reload operation. It must
create a second ORSERV process and send it a STATUS command that specifies
the original target file.
The second ORSERV process determines the status of the reload operation from
the ZZRELOAD file and sends the status to your management application in the
SPI response buffer.
For more information about the ZZRELOAD file, see Section 4, ORSERV
Programmatic Interface.
3. After your management application analyzes the reload status, it suspends the
reload operation. It must create a third ORSERV process and send it a SUSPEND
command that also specifies the original target file.
This ORSERV process (Step 3) stops the first one and the information about the
progress of the reload is saved in the ZZRELOAD file.