OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
B-40
6040 ZGPI-RC-ARCHIVE-WRITE-FAILED
6040  ZGPI-RC-ARCHIVE-WRITE-FAILED
Cause. The queue entry found on the input queue is bad and has been archived. 
However, a request to write an archive log record for the bad PDU has failed.
Effect. The bad PDU is removed from the input queue, an event message with the PDU 
ID is generated, and the PDU is physically left in the PDU store. 
Recovery. Call GPI_MT_START_TRANSFER_IN_ or GPI_MT_WAIT_ again to see 
if there is anything else on the input queue. If desired, you can use diagnostic tools to 
investigate the bad PDU in the PDU store. Note that, because the archive log record is 
not written, the PDU STATE display for that PDU is DELIV-GW rather than 
ARCHIVED. To distinguish the bad PDU from currently active PDUs, use the PDU ID 
contained in the event message.
Table B-11 summarizes the ZGPI-RC- codes you can receive during the mapping of 
outbound communications and explains what they mean. A more detailed description of 
each code follows the table. 
Table B-11. ZGPI-RC- Codes for Outbound-Mapping Errors (page 1 of 2)
Constant (ZGPI-RC-) Value Meaning
OTM-OUTBOUND-ERROR 8001 Request from outbound-mapping module to 
object-management module failed.
GW-OUTBOUND-ERROR 8002 Request from outbound-mapping module to 
MHS-interface module failed.
BAD-CN-CHAR 8003 Outbound-mapping module cannot match 
2-character country name.
BAD-CN-DIGIT 8004 Outbound-mapping module cannot match 3-
digit country name.
BAD-SYNTAX 8005 Outbound-mapping module cannot match an 
object’s syntax value.
BAD-TYPE 8006 Outbound-mapping module cannot match an 
object’s type value.
BAD-ACTION-SELECTOR 8007 Outbound-mapping module cannot match a GPI 
internal indicator.
BAD-SPECIAL-SELECTOR 8008 Outbound-mapping module cannot match a GPI 
internal indicator.
BAD-ENUMERATION-CASE 8009 Outbound-mapping module cannot match an 
enumerated value with values allowed for the 
MH-T-BUILTIN-EITS attribute.
BAD-ROOT-CHECK 8010 Outbound-mapping module cannot translate an 
input class. 
MAX-ARCS-EXCEEDED 8011 Outbound-mapping module cannot find end of 
string of syntax OM-S-OBJECT-ID-STRING.
CONTENT-ERROR 8012 Outbound-mapping module cannot find 
required class for content.










