File Utility Program (FUP) Management Programming Manual

ORSERV Commands and Responses
File Utility Program (FUP) Management Programming Manual523322-001
5-9
Example
°
ZSPI-VAL-FALSE—ORSERV continues the reload operation from the point
indicated in ZZRELOAD.
2. After ORSERV initiates the reload operation, it returns a response buffer to its
requester. ORSERV then continues the reload operation and does not
communicate with the requester. You can close ORSERV at this point.
3. ORSERV records any reload warnings or errors in the ZZRELOAD file.
4. After completing the reload operation, ORSERV stops itself.
After ORSERV completes the reload operation, the ZZRELOAD file remains on the
same volume and subvolume as the target file. The data describing the reload
operation is not overwritten unless a new reload operation is initiated for the same
target file. This lets you use the STATUS command to get the status for the completed
reload operation.
Slack Values
ORSERV sets the values as close as possible to the requested limits if it cannot meet
the minimum and maximum slack space values.
Example
Figure 5-1 shows an example of a TAL integer procedure that sends an
ONLINERELOAD command to ORSERV.
Figure 5-1. Example of the ONLINERELOAD Command (page 1 of 3)
! ---------------------------------------------------------
! ONLINERELOAD is a high-level integer procedure for the
! ORSERV ONLINERELOAD command. It assumes that the ORSERV
! process was already created using PROCESS_LAUNCH_[NOWAIT]
! and is open. This procedure returns 0 if successful,
! or an error number, if an error occurs.
! ---------------------------------------------------------
INT PROC ONLINERELOAD (target^file^name,
new,
rate,
min^dslack,
max^dslack,
min^islack,
max^islack,
deallocate)
VARIABLE;
! ---------------------------------------------------------
! Parameter declarations.
! ---------------------------------------------------------
INT .target^file^name; ! Required input target file
! Optional input parameters:
INT new, ! Start new reload operation