Directory Update APIs return codes

6000    CWBUP_ENTRY_NOT_FOUND
          No update entry matched search value.
6001    CWBUP_SEARCH_POSITION_ERROR
          Search starting position is not valid.
6002    CWBUP_PACKAGE_NOT_FOUND
          The package file was not found.
6003    CWBUP_POSITION_INVALID
          Position that is given is not in range.
6004    CWBUP_TOO_MANY_ENTRIES
          The maximum number of update entries already exist. No more can be
          created.
6005    CWBUP_TOO_MANY_PACKAGES
          Maximum number of package files already exists for this entry.
6006    CWBUP_STRING_TOO_LONG
          The text string parameter passed in is longer than CWBUP_MAX_LENGTH.
6007    CWBUP_ENTRY_IS_LOCKED
          Another application is currently changing the update entry list. No
          changes are allowed at this time.
6008    CWBUP_UNLOCK_WARNING
          Application did not have the update entries locked.
Related reference
iSeries Access for Windows Directory Update APIs