The following table lists the return codes for the dbfhadmin command, for each of its operations:
| dbfhadmin operation | Return code (errorlevel) | Description |
|---|---|---|
| -casprocess -list | 0 | Success |
| 16 | Any error occurring while retrieving process information | |
| -casprocess -recover | 0 | Success |
| 16 | Any error occurring while recovering processes | |
| -createdb | 0 | Success |
| 16 | Any error occurring while creating a datastore/region/cross-region | |
| -keytypes -add | 0 | Success |
| 16 | Any error occurring while adding a key type definition | |
| -keytypes -delete | 0 | Success |
| 16 | Any error occurring while deleting a key type definition | |
| -keytypes -export | 0 | Success |
| 16 | Any error occurring while exporting key type definitions | |
| -keytypes -import | 0 | Success |
| 4 | Did not replace key types | |
| 16 | Any error occurring while importing key type definitions | |
| -keytypes -list | 0 | Success |
| 16 | Any error occurring while listing key type definitions | |
| -openfiles -list | 0 | Success |
| 16 | Any error occurring while retrieving file handle information | |
| -openfiles -recover | 0 | Success |
| 16 | Any error occurring while closing file handles and removing record locks | |
| -region -list | 0 | Success |
| 16 | Any error occurring while retrieving region or resource lock information | |
| -region -recover | 0 | Success |
| 16 | Any error occurring while recovering region resource locks | |
| -script | 0 | Success |
| 16 | Any error occurring while creating a datastore/region/cross-region script | |
| -upgrade | 0 | Success |
| 16 | Any error occurring while checking if a datastore needs upgrading, or generating an upgrade script | |
| -verify -list | 0 | Success |
| 4 | One or more orphaned record locks exists in the datastore | |
| 16 | Any error occurring while verifying the integrity of a datastore | |
| -verify -recover | 0 | Success - nothing to recover |
| 4 | One or more orphaned record locks were removed from the datastore | |
| 16 | Any error occurring while verifying the integrity of a datastore |