File Utility Program (FUP) Management Programming Manual

Introduction
File Utility Program (FUP) Management Programming Manual523322-001
1-4
Using SPI With FUP and ORSERV
Using SPI With FUP and ORSERV
Your management application (COBOL85, C, TACL, or TAL) communicates with FUP
and ORSERV processes using SPI. These two programmatic interfaces (FUP and
ORSERV) are used to execute specific commands. Figure 1-3 shows an example of a
management application communicating with both a FUP and ORSERV process.
SPI With FUP
You can use the FUP programmatic interface to execute the CHECKSUM,
DUPLICATE, LOAD, LOADALTFILE, RESTART, and GETVERSION commands. Use
your management application to create a FUP process, open the process, and then
send your command requests to it by using an SPI command buffer. For more
information, see Section 2, FUP Programmatic Interface.
Figure 1-3. Management Application With FUP and ORSERV
006CDT .CDD
ORSERV
Process
FUP
Process
Management
Application
A management application starts a FUP
process and sends it a CHECKSUM,
DUPLICATE, LOAD, LOADALTFILE. or
RESTART command in an SPI
command buffer.
A management application starts
an ORSERV process and sends it an
ONLINERELOAD, STATUS, or SUSPEND
command in an SPI command buffer.
ORSERV executes the command
and returns a reply to the management
application in the SPI response buffer.
FUP executes the command and
returns a reply to the management
application in the SPI response buffer.