OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual522223-001
B-7
27 OM-RC-WRONG-VALUE-MAKEUP
27 OM-RC-WRONG-VALUE-MAKEUP
Cause. A value does not conform to the syntax of the attribute or an attribute that is a
subobject contains an invalid attribute value. For example, the subobject contains an
incorrect O/R name.
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ and check the error class and the secondary code (prefix
ZGPI-WVMC-). Take the recovery action recommended for the error class. If the
secondary code is less than 1000, it indicates the type of attribute that is in error.
28 OM-RC-WRONG-VALUE-NUMBER
Cause. You tried to insert too many values for a multivalued attribute, or you tried to
insert an enumerated value that is invalid for the attribute. To determine the maximum
number of values allowed or the valid enumerated values, see the attribute description in
Section 3, Object Classes and Attribute Types
.
Effect. The value is not inserted.
Recovery. Call GPI_STATUS_ and check the error class and the secondary code (prefix
ZGPI-WVNC-). Take the recovery action recommended for the error class.
29 OM-RC-WRONG-VALUE-SYNTAX
Cause. You specified a syntax that is not valid for the specified type of attribute. To
determine the valid syntax for the attribute type, see the attribute description in
Section 3, Object Classes and Attribute Types.
Effect. No change is made.
Recovery. Call the procedure again, specifying the correct syntax. You can call
GPI_STATUS_ , which returns the invalid syntax as the secondary code.
30 OM-RC-WRONG-VALUE-TYPE
Cause. You specified an attribute type that is not valid for the specified object. To
determine the valid attribute types for the object, see the attribute description in
Section 3, Object Classes and Attribute Types.
Effect. No change is made.
Recovery. Call the procedure again, specifying the correct attribute type. You can call
GPI_STATUS_ , which returns the invalid type as the secondary code.
Message-Handling Return Codes
Table B-2 summarizes the MH-RC- return code values you can receive from a message
handling procedure. A more detailed description of each value follows the table. The
OM-RC-SUCCESS code is also returned from successful message transfer procedures.