OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Return Codes
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
B-28
4011 ZGPI-RC-SPI-CMD-ERROR
Effect. A session could not be established.
Recovery. You can call GPI_STATUS_ and check the secondary code, which contains 
the Guardian 90 file-system error code. Check the operational environment. Try 
reinitializing the GPI.
4011  ZGPI-RC-SPI-CMD-ERROR
Cause. The MHS manager process reported an error.
Effect. A session could not be established.
Recovery. You can call GPI_STATUS_ and check the secondary code, which contains 
the SPI error code.
4012 ZGPI-RC-NO-GIPS
Cause. There are no GIPs available currently.
Effect. A session could not be established.
Recovery. Try to open a session again later. Check the operational environment, 
particularly the GIP groups.
4013 ZGPI-RC-SESSION-ABORTED
Cause. The GPI aborted the session because the GIP was stopped and restarted for 
another session.
Effect. The function is not performed.
Recovery. Call GPI_STATUS_ to get additional information. The secondary code 
contains the session identifier of the aborted session.  Open another session.
Table B-9 summarizes the ZGPI-RC- codes you can receive due to problems in 
managing an object tree and explains what they mean. A more detailed description of 
each code follows the table. 
Table B-9. ZGPI-RC- Codes for Object Tree Management Errors
Constant (ZGPI-RC-) Value Meaning
OBJ-ALREADY-ATTACHED 5000 Subobject cannot be inserted as attribute of more 
than one super object.
ILLEGAL-NON-ROOT-COPY 5001 Object cannot be copied as root object unless it 
is a root object.
ILLEGAL-ROOT-COPY 5002 Root object cannot be copied as a nonroot 
object.
PROTOCOL-ERROR 5003 Error occurred in GPI internal protocol.
NO-SUCH-POSITION 5004 Specified value position is beyond existing 
values or exceeds value limit defined for 
attribute type.










