OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide

TAL Program Example
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide424822-001
A-51
Creating and inserting ROOT ATTRIBUTES
Object BILATERAL INFORMATION
Create the object
Remove the attribute PRMD_IDENTIFIER
Insert all the required attributes
Insert the object into the root object
Object INTERPERSONAL MESSAGE
Create the object
Insert all the required attributes
Object IA5 TEXT BODY PART
Create the object
Insert all the required attributes
Use GPI_OM_WRITE to write the first line
Use GPI_OM_WRITE_ to write the second line
Insert the object into the IM_C_INTERPERSONAL_
MESSAGE object
Object IPM IDENTIFIER
Create the object
Insert all the required attributes
Insert the object into the IM_C_INTERPERONAL_MESSAGE
object
Insert the object into the root object
Object EXTERNAL TRACE ENTRY
Create the object
Insert all required attributes
Insert the object into the root object
Object MTS IDENTIFIER
Create the object
Insert all required attributes
Insert the object into the root object
Object EITS
Create the object
Insert all required attributes
Insert the object into the root object
Object OR NAME
Create
Insert all required attributes
Insert the object into the root object
Object MESSAGE RD
Create the object
Insert all required attributes
Object OR NAME
Create the object
Insert all required attributes
Insert the object into the MH_C_MESSAGE_RD object
Insert the object into the root object
Copy the object
Examine the object id of the copied object OR_NAME
Delete the object MH_C_OR_NAME
Second object OR NAME
Create the object
Insert all required attributes
Insert the object into the MH_C_MESSAGE_RD object
Remove the attribute MH_T_RECIPIENT_NUMBER
Insert the attribute MH_T_RECIPIENT_NUMBER with new value
Insert the object into the root object
BUILD_ROOT_OBJECT --> was successful!
Call GPI_MT_TRANSFER_OUT_
--> was successful!
Call GPI_MT_WAIT_
GPI_MT_WAIT_ is waiting for a message
GPI_MT_WAIT_ --> was successful!
Call GPI_MT_START_TRANSFER_IN_
--> was successful!
Call SHOW_MESSAGE