OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual522223-001
B-11
Error Classes
Error Classes
Error classes indicate the severity of an error.
Table B-4 summarizes the error class values you can receive from a GPI_STATUS_ call
and explains what they indicate about the procedure that caused you to call
GPI_STATUS_. A more detailed description of each value follows the table.
Table B-3. Request Types
Constant (ZGPI-RT) Value Procedure Name
NULL 0 No request in progress
EM-INITIALIZE 1 GPI_INITIALIZE_
EM-OPEN 2 GPI_OPEN_
EM-CLOSE 3 GPI_CLOSE_
EM-STATUS 4 GPI_STATUS_
MT-WAIT 21 GPI_MT_WAIT_
MT-START-XFER-IN 23 GPI_MT_START_TRANSFER_IN_
MT-FINISH-XFER-IN 25 GPI_MT_FINISH_TRANSFER_IN_
MT-XFER-OUT 26 GPI_MT_TRANSFER_OUT_
OM-COPY 41 GPI_OM_COPY_
OM-CR EATE 42 GPI_OM_CREATE_
OM-DELETE 43 GPI_OM_DELETE_
OM-EXAMINE 44 GPI_OM_EXAMINE_
OM-FETCH 45 GPI_OM_FETCH_
OM-INSERT 46 GPI_OM_INSERT_
OM-LIST 47 GPI_OM_LIST_
OM-READ 48 GPI_OM_READ_
OM-REMOVE 49 GPI_OM_REMOVE
OM-WRITE 50 GPI_OM_WRITE_
Table B-4. Error Class Values (page 1 of 2)
Constant (ZGPI-RC-CLASS-) Value Meaning
SUCCESS 0 No error occurred.
WARNING 10 Procedure was successful but another condition
should be noted.
IMMINENT 20 Failure is likely to occur soon.