OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide

Writing Your Program
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide424822-001
5-27
Transferring Out a Root Object
STRING
local_identifier[0:31]; --String that uniquely
-- identifies the outbound
-- root object
Procedure call:
status := GPI_MT_TRANSFER_OUT_ (session,
object_id,
local_identifier,
local_identifier_length,
retain);
Figure 5-7. GPI Program Flow: Inbound Processing
507CDT .CDD
GPI Procedure
Open a session
Program Flow
Note: GPI_STATUS_ may
be used anytime after
successful GPI_INITIALIZE_
Initialize workspace
Inbound Processing
Finish transfer-in of root object
Initiate transfer-in of root object
Retrieve information from root
object
(Unmodifiable object)
Edit root object
(Modifiable object)
Close a session
GPI_INITIALIZE_
GPI_OPEN_
GPI_MT_WAIT_
GPI_MT_START_TRANSFER_IN_
GPI_MT_FINISH_TRANSFER_IN_
GPI_CLOSE_
Copying:
GPI_OM_COPY_
Inspecting:
GPI_OM_EXAMINE_
GPI_OM_FETCH_
GPI_OM_LIST_
GPI_OM_READ_
Composing:
GPI_OM_CREATE_
GPI_OM_INSERT_
GPI_OM_WRITE_
Decomposing:
GPI_OM_DELETE_
GPI_OM_REMOVE_
Copying:
GPI_OM_COPY_
Inspecting:
GPI_OM_EXAMINE_
GPI_OM_FETCH_
GPI_OM_LIST_
GPI_OM_READ_