OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide
Writing Your Program
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide—424822-001
5-14
Processing Outbound Information
GPI_STATUS_ has several output parameters that return diagnostic codes. In addition,
for certain errors, GPI_STATUS_ writes additional diagnostic information to an
information buffer. Details on GPI_STATUS_ are provided in Section 6, Recovering
From Errors.
Processing Outbound Information
After a GPI session has been established, the client program can do outbound and
inbound processing. For outbound processing, the objective is to translate proprietary
information into a functionally equivalent root object in GPI library memory space.
After the root object is formed, it can be transferred to the GPI service output queue.
The tasks covered in this subsection are:
•
Building a root object
•
Transferring out a root object
The GPI procedures used for these tasks are highlighted in Figure 5-2. Note that object
management decomposing, copying, and inspecting procedures can be used but are not
highlighted. These procedures are described within the context of inbound processing,
which follows later in this section.
Note. Dotted arrows indicate that outbound processing might be preceded or followed by
inbound processing. Not shown is the looping that typically occurs for tasks within the
outbound processing block.