OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual522223-001
B-12
0 ZGPI-RC-CLASS-SUCCESS
0 ZGPI-RC-CLASS-SUCCESS
Cause. The procedure completed successfully.
Effect. Processing can continue.
Recovery. None is required.
10 ZGPI-RC-CLASS-WARNING
Cause. An exception occurred, the function was only partially successful, or the
function succeeded but something else happened that should be noted. For example, the
Guardian 90 CLOSE procedure failed during a call to GPI_CLOSE_.
Effect. Processing can continue.
Recovery. Keep a record of the warning and continue processing.
20 ZGPI-RC-CLASS-IMMINENT
Cause. An exceptional condition occurred that might lead to a failure; for example,
system resources were not returned.
Effect. Performance of operations requested by subsequent GPI procedure calls might
be degraded.
Recovery. Shut down the client program through an orderly process, which includes
keeping a detailed record of the error condition and ending all sessions by calls to
GPI_CLOSE_. If the condition continues to occur, notify your Compaq representative
about the condition that occurred.
FAILED 30 Procedure failed due to a client or GPI
problem, or a partial inbound communication
was transferred, but the calling program can
continue processing.
CLIENT 40 Client program error such as invalid parameter
occurred.
BLOCKED-INT 50 Session is unusable because of internal
problem.
BLOCKED 60 Session is unusable because of operator action
or other external operation.
FATAL 70 Fatal error occurred requiring call to
GPI_INITIALIZE_ to reset environment.
INTERNAL 80 Library is unusable because of internal
exception.
Table B-4. Error Class Values (page 2 of 2)
Constant (ZGPI-RC-CLASS-) Value Meaning