OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
B-33
6002 ZGPI-RC-GIP-BUSY
Recovery. Call GPI_STATUS_ and check the error class. Take the recovery action 
recommended for the error class.
6002 ZGPI-RC-GIP-BUSY
Cause. The GIP received a request to open a session with a client program but is 
already in session with another client program.
Effect. The request is rejected.
Recovery. Call GPI_STATUS_ and check the error class. Take the recovery action 
recommended for the error class. 
6003  ZGPI-RC-NO-PREVIOUS-GPI-OPEN
Cause. The GIP received a GPI request but has not successfully opened a session. For 
example, the error might occur after the GIP abends and is restarted by the MHS 
manager.
Effect. The request is rejected. The GPI closes the session automatically.
Recovery. Call GPI_STATUS_ and check the secondary code, which contains the type 
of the rejected request.
6004 ZGPI-RC-INVALID-PID
Cause. The GIP received a GPI request from a process other than the one that opened 
the session.
Effect. The request is rejected.
Recovery. Call GPI_STATUS_ and check the error class. Take the recovery action 
recommended for the error class.
6005  ZGPI-RC-UNKNOWN-GPI-REQUEST
Cause. The GIP received a GPI request that it does not recognize.
Effect. The request is rejected.
Recovery. Call GPI_STATUS_ and check the secondary code, which contains the type 
of the rejected request.
6006  ZGPI-RC-OTT-FAILURE
Cause. A failure occurred in the object-tree-transport module during a transfer-out or 
start-transfer-in request.  
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ and examine the information buffer.  Take the recovery 
action recommended for the error class.










