OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide
Contents
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide—424822-001
iii
4. Planning Your Program (continued)
4. Planning Your Program (continued)
GIP Configuration 4-5
Gateway Password
4-5
Using Extensions and Criticality
4-5
Supported Extensions
4-6
Unsupported Extensions
4-8
EDI Extensions
4-8
5. Writing Your Program
Developing Program Structure 5-1
Managing the GPI Environment
5-5
Initializing the GPI Environment
5-5
Opening a Session
5-11
Closing a Session
5-13
Retrieving Error Information
5-13
Processing Outbound Information
5-14
Building a Root Object
5-15
Transferring Out a Root Object
5-25
Processing Inbound Information
5-28
Initiating Transfer-in of a Root Object
5-28
Retrieving Information From a Root Object
5-31
Finishing Transfer-in of a Root Object
5-47
Editing a Root Object
5-50
6. Recovering From Errors
Using the Status Parameter 6-1
Using the GPI_STATUS_ Procedure
6-3
Primary and Secondary Codes
6-8
Error Class
6-8
Information Buffer
6-9
Information Buffer Structures
6-16
Recovering From a GIP Failure
6-22