System Object APIs return codes
There are system object API return codes.
6000 CWBOBJ_RC_HOST_ERROR
Host error occurred. Text may be in errorHandle.
6001 CWBOBJ_RC_INVALID_TYPE
Incorrect object type.
6002 CWBOBJ_RC_INVALID_KEY
Incorrect key.
6003 CWBOBJ_RC_INVALID_INDEX
Bad index to list.
6004 CWBOBJ_RC_LIST_OPEN
The list is already opened.
6005 CWBOBJ_RC_LIST_NOT_OPEN
The list has not been opened.
6006 CWBOBJ_RC_SEEKOUTOFRANGE
Seek offset is out of range.
6007 CWBOBJ_RC_SPLFNOTOPEN
Spooled file has not been opened.
6007 CWBOBJ_RC_RSCNOTOPEN
Resource has not been opened.
6008 CWBOBJ_RC_SPLFENDOFFILE
End of file was reached.
6008 CWBOBJ_RC_ENDOFFILE
End of file was reached.
6009 CWBOBJ_RC_SPLFNOMESSAGE
The spooled file is not waiting on a message.
6010 CWBOBJ_RC_KEY_NOT_FOUND
The parameter list does not contain the specified key.
6011 CWBOBJ_RC_NO_EXIT_PGM
No exit program registered.
6012 CWBOBJ_RC_NOHOSTSUPPORT
Host does not support function.