OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide
Recovering From Errors
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide—424822-001
6-21
Information Buffer Structures
ZGPI-ST-INFO-5 (Value 50)
This structure provides extended error information to be reported to your Compaq 
representative. This structure is returned when an internal decode or encode function 
has returned an error.  
All five codes contain internal GPI information defined by Compaq. 
CODE 1
This field contains the error source code which identifies the GWABS internal 
function which has returned the error. 
CODE 2
The field contains the error that was returned from the GWABS internal function. 
CODE 3
This field contains the offset into the encoded PDU, where the decode or encode 
process stopped because of the error. In some cases this point in the message may 
represent the end of the data for the protocol element which caused the problem and 
in other cases can occur precisely on the offending protocol element. A copy of the 
encoded message and some experience with ASN.1 encoding rules is needed to 
investigate this problem. Your Compaq analyst has access to tools that can print the 
encoded message. 
CODE 4
This field contains an internal pointer and is of little use in debugging. 
CODE 5
This field contains an OSI/MHS internal code (called the kind code) of the protocol 
element which caused the encoding or decoding problem. This is a code generated 
when the body of X.400 protocol is compiled.  It is subject to change with different 
releases, but is a very important piece of information in debugging this type of 
problem. Refer to the GPI DDL for the definitions of the kind codes. 
Z-STRUCT-TYPE
CONSTANT ZGPI-ST-INFO-5 TYPE BINARY 32 VALUE 50.
DEFINITION ZGPI-INFO-5.
 STRUCTURE-TYPE 0000 0032
 CODE 1 0000
 CODE 2 0000 0000
 CODE 3 0000 0000
 CODE 4 0000 0000
 CODE 5 0000










