OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
B-4
3 OM-RC-FUNCTION-INTERRUPTED
3  OM-RC-FUNCTION-INTERRUPTED
Cause. Your program or an operator has taken an action that caused the function to be 
aborted. The interruption was not caused by a GPI action. 
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ and check the error class. Take the recovery action 
recommended for the error class.
4  OM-RC-MEMORY-INSUFFICIENT
Cause. The GPI service cannot allocate the main memory required to complete the 
function. For example, you have exceeded the string buffer space while creating an 
object.
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ and check the error class and the secondary code (prefix 
ZGPI-MIC-). Take the recovery action recommended for the error class.
5  OM-RC-NETWORK-ERROR
Cause. The GPI service could not access or use the network. 
Effect. The function is not performed.
Recovery. Try the operation again.
6  OM-RC-NO-SUCH-CLASS
Cause. You specified a class that is not defined. For example, you tried to create an 
object of an undefined class.
Effect. The function is not performed.
Recovery. Call GPI_OM_CREATE_ again with a valid DDL name for the class of 
object you are creating.  See Section 3, Object Classes and Attribute Types
. You can 
call GPI_STATUS_ , which returns the invalid class as the secondary code.
9  OM-RC-NO-SUCH-OBJECT
Cause. You specified a nonexistent object identifier. For example, you tried to specify 
the object identifier of an object that has been deleted or transferred out.
The object identifier must be one returned by GPI_OM_CREATE_ , 
GPI_OM_COPY_ , GPI_MT_START_TRANSFER_IN_ , or GPI_OPEN_. 
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ and check the error class and the secondary code (prefix 
ZGPI-NSOC-). Take the recovery action recommended for the error class. If the 
secondary code is less than 1000, it indicates the type of attribute that could not be 
found.










