File Utility Program (FUP) Management Programming Manual

ORSERV Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
4-2
Communicating With ORSERV
2. Open ORSERV.
The process file name must have the internal file-name format. You can include
backup OPENs and CLOSEs in ORSERV.
When you open the ORSERV server:
You can open ORSERV only if you created the ORSERV process.
Figure 4-1. Communicating With ORSERV
001CDT .CDD
Management
Application
ORSERV
1. Start an ORSERV process.
2. Open ORSERV.
3. Send a startup message.
4. Close ORSERV.
5. Open ORSERV using #ZSPI.
6. Allocate the command and response
buffer.
7. Initialize the command buffer.
8. Initialize and set the fields of structured
tokens.
9. Add the tokens to the buffer.
10. Send the command buffer.
Send request
Receive the buffer.
Interpret the request.
Execute the command.
Return a response.
For ONLINERELOAD, continue the
reload.
Stop execution
11. Interpret the response buffer.
12. Take an appropriate action.
13. Close ORSERV.
Return reply