System Object Access APIs return codes

 
0    CWBSO_NO_ERROR
          No error occurred.
1    CWBSO_ERROR_OCCURRED
          An error occurred.  Use error handle for more information.
2    CWBSO_LOW_MEMORY
          Not enough memory is available for the request.
3    CWBSO_BAD_LISTTYPE
          The value specified for type of list is not valid.
4    CWBSO_BAD_HANDLE
          The handle specified is not valid.
5    CWBSO_BAD_LIST_HANDLE
          The list handle specified is not valid.
6    CWBSO_BAD_OBJ_HANDLE
          The object handle specified is not valid.
7    CWBSO_BAD_PARMOBJ_HANDLE
          The parameter object handle specified is not valid.
8    CWBSO_BAD_ERR_HANDLE
          The error handle specified is not valid.
9    CWBSO_BAD_LIST_POSITION
          The position in list specified does not exist.
10    CWBSO_BAD_ACTION_ID
          An action ID specified is not valid for the type of list.
11    CWBSO_NOT_ALLOWED_NOW
          The action requested is not allowed at this time.
12    CWBSO_BAD_INCLUDE_ID
          The filter ID specified is not valid for this list.
13    CWBSO_DISP_MSG_FAILED
          The request to display the message failed.
14    CWBSO_GET_MSG_FAILED
          The error message text could not be retrieved.
15    CWBSO_BAD_SORT_ID
          A sort ID specified is not valid for the type of list.
16    CWBSO_INTERNAL_ERROR
          An internal processing error occurred.
17    CWBSO_NO_ERROR_MESSAGE
          The error handle specified contains no error message.
18    CWBSO_BAD_ATTRIBUTE_ID
          The attribute key is not valid for this object.
19    CWBSO_BAD_TITLE
          The title specified is not valid.
20    CWBSO_BAD_FILTER_VALUE
          The filter value specified is not valid.
21    CWBSO_BAD_PROFILE_NAME
          The profile name specified is not valid.
22    CWBSO_DISPLAY_FAILED
          The window could not be created.
23    CWBSO_SORT_NOT_ALLOWED
          Sorting is not allowed for this type of list.
24    CWBSO_CANNOT_CHANGE_ATTR
          Attribute is not changeable at this time.
25    CWBSO_CANNOT_READ_PROFILE
          Cannot read from the specified profile file.
26    CWBSO_CANNOT_WRITE_PROFILE
          Cannot write to the specified profile file.
27    CWBSO_BAD_SYSTEM_NAME
          The system name specified is not a valid iSeries system name.
28    CWBSO_SYSTEM_NAME_DEFAULTED
          No system name was specified on the "CWBSO_CreateListHandle" call
          for the list.
29    CWBSO_BAD_FILTER_ID
          The filter ID specified is not valid for the type of list.
Related reference
iSeries Access for Windows System Object Access (SOA) APIs
About System Object Access errors