Appendix H. List of Command Return Codes

The table below lists and describes the return codes that can be set by HiRDB commands.

Table H-1 List of return codes set by commands

CommandOutput messageReturn codeDescription
Message IDCode
pdacunlckKFPD01113-I00Normal termination
88Abnormal termination
pdadmvr----0Normal termination
8Abnormal termination (invalid option)
pdaudatld---0Normal termination
4Warning termination (automatic data loading on an audit trail table that was underway during execution of pdaudatld -t terminated with an error)
8Abnormal termination
pdaudbegin----0Normal termination
4Some units terminated normally.
8Abnormal termination
pdaudend----0Normal termination
4Some units terminated normally.
8Abnormal termination
pdaudputKFPN10501-I00Normal termination
44Normal termination (caused by swapping of audit log output files for JP1/NETM/Audit)
88Abnormal termination
pdaudrm----0Normal termination
8Abnormal termination
pdaudswap----0Normal termination
8Abnormal termination
pdbkuplsKFPR26276-I00Normal termination
1212Abnormal termination
pdbufls----0Normal termination
4Warning termination (some server processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdbufmod----0Normal termination
4Warning termination (some server processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdcancel----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
pdcat----0Normal termination
8Abnormal termination
pdcbl----0Normal termination
4Error occurred (process was resumed through the end).
8Error occurred (process was resumed through the end).
12Error occurred (process was cancelled).
16Error occurred (process was cancelled).
pdchgconfKFPS04661-I00Normal termination
88Abnormal termination
pdchprc----0Normal termination
4Some units terminated normally
8Abnormal termination (invalid option or rsh error, for example)
pdclibsync----0Normal termination
4Abnormal termination (C library file has already been registered or is not registered)
8Abnormal termination
pdclose----0Normal termination
4Warning termination (some RDAREA processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdclttrc----0Normal termination
8Abnormal termination
pdcmt----0Normal termination
1Abnormal termination (invalid option or rsh error, for example)
pdconfchkKFPS05007-I00Normal termination
44Warning termination (warning for definitions)
88Abnormal termination (invalid argument or pdconfchk command execution error)
pdconstckKFPL50001-I00Normal termination
44Normal termination (constraint violation occurred)
This includes when processing was cancelled because the number of key values resulting in a constraint violation exceeded the maximum number permissible.
88Abnormal termination
pdcpp----0Normal termination
4Error occurred (process was resumed through the end).
8Error occurred (process was resumed through the end).
12Error occurred (process was cancelled).
16Error occurred (process was cancelled).
pdcopyKFPR00756-I00Normal termination
88Abnormal termination (some copy processes failed or were skipped)
1212Abnormal termination (all copy processes failed)
pdcspool----0Normal termination
4Normal termination
12Abnormal termination
pddbchg----0Normal termination
4Warning termination (some RDAREA processes terminated with an error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pddbfrz----0Normal termination
4Warning termination (some RDAREA processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pddbls----0Normal termination
4Warning termination
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pddbstKFPK10301-I00Normal termination
44Abnormal termination (invalid specification)
88Abnormal termination
pddef----0Normal termination
8Abnormal termination
pddefrevKFPX18400-I00Normal termination
88Abnormal termination
1212Abnormal termination
pddivinfgtKFPD01200-I00Normal termination
88Abnormal termination
pdexpKFPX18400-I00Normal termination
44Normal termination (invalid procedure or trigger export)
88Abnormal termination
1212Abnormal termination
pdextfunc----0Normal termination
4Warning termination
8Abnormal termination
pdfbkup----0Normal termination
1Warning termination
-1Abnormal termination
pdfchfs----0Normal termination
-1Abnormal termination
pdffsck----0Normal termination
1Warning termination (integrity error was detected during verification)
-1Abnormal termination
pdfgt----0Normal termination
1Abnormal termination (invalid option or rsh error, for example)
pdfls----0Normal termination
-1Abnormal termination
pdfmkfs----0Normal termination
-1Abnormal termination
pdfrm----0Normal termination
-1Abnormal termination
pdfrstr----0Normal termination
1Warning termination
-1Abnormal termination
pdfstatfs----0Normal termination
-1Abnormal termination
pdfzeroinit--00Normal termination (initialization completed)
41Warning termination (initialization failed because the HiRDB file system area contains files)
8-1Warning termination (including invalid arguments)
pdgetcstKFPN00011-I00Normal termination
44Normal termination (warning occurred on data dictionary table manipulation)
88Abnormal termination
pdgeterKFPN10301-I00Normal termination
44Warning termination (part of the information acquisition processing was skipped)
88Abnormal termination
1212Termination by interrupt
pdhold----0Normal termination
4Warning termination (some RDAREA processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdinfogetKFPN10401-I00Normal termination
44Warning termination (part of the information collection processing was skipped)
88Abnormal termination
1212Termination with interrupt
pdinitKFPX24013-I00Normal termination
44Normal termination (warning-level error occurred, but processing terminated normally)
88Normal termination (initialization terminated normally, but communication for the termination of initialization resulted in an error)
1212Abnormal termination
pditvstop----0Normal termination
1Abnormal termination
pditvtrc----0Normal termination
1Abnormal termination
pdjarsync----0Normal termination
4Abnormal termination (JAR file has or has not been registered)
8Abnormal termination
pdlistls----0Normal termination
8Abnormal termination
pdloadKFPL00704-I00Normal termination
44Normal termination (detection of input data error)
88Abnormal termination
pdlodsv----0Normal termination
1Abnormal termination (due to a user privilege error, for example)
8Abnormal termination (environment variable has not been set)
12Abnormal termination (invalid option or user privilege error, for example)
pdlogadpf----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
pdlogatul----0Normal termination
4Cancelled or timeout occurred.
8Abnormal termination (invalid option or rsh error, for example)
pdlogchg----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdlogcls----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
pdloginit----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdlogls----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdlogopen----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
pdlogrm----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdlogswap----0Normal termination
4Swapping occurred, but the synchronization point dump was not validated and the command was terminated forcibly.
8Abnormal termination (invalid option or rsh error, for example)
pdlogsync----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
pdlogucat----0Normal termination
8Abnormal termination
pdlogunld----0Normal termination
4Abnormal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdls(-d act)----0Normal termination
8Abnormal termination
pdls(-d aud)----0Normal termination
8Abnormal termination
pdls(-d ha)----0Normal termination
8Abnormal termination
pdls(-d lck)----0Normal termination
8Abnormal termination
pdls(-d mem)----0Normal termination
8Abnormal termination
pdls(-d org)----0Normal termination
8Abnormal termination
pdls(-d prc)----0Normal termination
8Abnormal termination
pdls(-d ris)----0Normal termination
8Abnormal termination
pdls(-d rpc)----0Normal termination
8Abnormal termination
pdls(-d rpl)----0Normal termination
8Abnormal termination
pdls(-d scd)----0Normal termination
8Abnormal termination
pdls(-d stj)----0Normal termination
8Abnormal termination
pdls(-d sts)----0Normal termination
8Abnormal termination
pdls(d svr)----0All units are active and HiRDB startup processing was completed (after the KFPS05210-I message was displayed). 0 is also returned when all front-end servers were terminated by the pdstop -s command after HiRDB started.
4Some units are inactive
Before completion of HiRDB startup processing (status of front-end server is SUSPEND)
8Abnormal termination
pdls(-d ust)----0Unit is active (front-end server can be connected if it is located at the unit where the command is executed).
1Abnormal termination
4Unit is starting (front-end server is located at the unit where the command is executed, but the front-end server cannot be connected), or unit is stopping.
8Restart of the process server process was cancelled.
12Unit is stopped (pdsetup -d command can be executed).
16OS registration has been deleted..
pdls(-d trn)----0Normal termination
8Abnormal termination
pdmemdb----0Normal termination
4Warning termination (processing on some RDAREAs terminated with an error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdmemsvMemory saving level:--0Normal termination
----2Abnormal termination (such as invalid option)
pdmodKFPX24213-I00Normal termination
44Normal termination (warning-level error occurred, but processing terminated normally)
88Normal termination (some configuration change processes terminated normally)
1212Abnormal termination
1616Abnormal termination (inconsistent database)
pdobils----0Normal termination
4Abnormal termination
pdobjconvKFPX21002-I00Normal termination
44Warning termination
88Terminated normally, but some resulted in a re-registration error. Or, error occurred on command execution.
1212Abnormal termination
pdocb----0Normal termination
4Error occurred (process was resumed through the end).
8Error occurred (process was resumed through the end).
12Error occurred (process was cancelled).
16Error occurred (process was cancelled).
pdocc----0Normal termination
4Error occurred (process was resumed through the end).
8Error occurred (process was resumed through the end).
12Error occurred (process was cancelled).
16Error occurred (process was cancelled).
pdopen----0Normal termination
4Warning termination (some RDAREA processes terminated with error)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdopsetupKFPS04618-I--0Normal termination
----8Privilege error, HiRDB is active, insufficient disk space, uninstalled, or already installed
12Invalid parameter or path
pdorbeginKFPH27045-I00Normal termination
44Warning termination (processing was successful at some servers)
88Abnormal termination
1212Abnormal termination (an event disabling display of error messages occurred)
pdorcheck----0Normal termination
4Warning termination (some resources do not satisfy the conditions)
8Abnormal termination
pdorchgKFPH27045-I00Normal termination
44Warning termination (processing was successful at some servers)
88Abnormal termination
1212Abnormal termination (an event disabling display of error messages occurred)
pdorcreateKFPT02014-I00Normal termination
44Warning termination (requested processing has already been executed, or deletion processing was cancelled by interactive entry)
88Abnormal termination
pdorendKFPH27045-I00Normal termination
44Warning termination for one of the following reasons:
  • The corresponding SQL statement was skipped because processing was successful at some servers or an SQL error subject to skipping occurred.
  • The corresponding SQL statement was skipped because the UPDATE statement specifying the SET or DELETE clause containing an element number that is not in the repetition column was executed and a warning error occurred.
  • The system was unable to change at least one of the tables to check pending status; it ignored that processing and resumed normal processing.
88Abnormal termination
1212Abnormal termination (an event disabling display of error messages occurred)
pdparaloadKFPL00794-I00Normal termination
44Normal termination (database storage processing was skipped due to a logical error in some of the input data)
88Abnormal termination
pdpfreshKFPS00730-I00Normal termination
----8Abnormal termination (invalid option or rsh error, for example)
pdpgbfonKFPL00738-I00Normal termination
44Normal termination (buffer miss occurred because there were not enough buffer sectors when data was read into the global buffer)
88Abnormal termination
1212Abnormal termination (pdrorg terminated abnormally)
pdplgrgstKFPY02016-I00Registration or deletion was successful.
88Registration or deletion failed.
pdplgsetKFPY01201-I00Setup was successful.
88Setup failed.
pdprfed----0Normal termination
8Abnormal termination (internal conflict)
12Abnormal termination
pdprflevel----0Normal termination
8Abnormal termination
pdprgcopyKFPS04645-I00Normal termination
88Abnormal termination
pdprgrenewKFPS04646-I00Normal termination
88Abnormal termination (HiRDB status before updating)
1212Abnormal termination (HiRDB terminated)
KFPS05033-E88Abnormal termination (abnormal termination of system function)
pdrbalKFPL33001-I00Normal termination
44Normal termination (rebalancing stopped temporarily)
88Abnormal termination
pdrbk----0Normal termination
1Abnormal termination (invalid option or rsh error, for example)
pdrdrefls----0Normal termination
4Warning termination (there is no resource to be analyzed)
8Abnormal termination
pdreclaimKFPL00739-I00Normal termination
44Normal termination (processing was cancelled because timeout occurred while waiting for settlement of UAP transaction)
88Abnormal termination
pdreginitKFPX24601-I00Normal termination
44Normal termination (warning-level error occurred, but processing terminated normally)
88Abnormal termination
pdrels----0Normal termination
1Warning termination
At the updatable backup-hold (WAIT mode), the update buffer contents were applied to the RDAREA. Shutdown release processing has terminated normally.
4Warning termination (there is an error in at least one of the RDAREAs that were specified)
8Abnormal termination
12Abnormal termination (an event disabling display of error messages occurred)
pdrisechk----0Normal termination
8Abnormal termination
pdrisedbto----0Normal termination
4Some units terminated abnormally
8Abnormal termination
pdriseset----0Normal termination
8Abnormal termination
pdrorgKFPL00719-I00Normal termination
44Normal termination (some processes were skipped)
88Abnormal termination
pdrpause----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
pdrplstart----0Normal termination
8Abnormal termination
pdrplstop----0Normal termination
4Abnormal termination (some units were inactive (except ones that had not been started due to reduced activation), or some log information was not extracted by HiRDB Datareplicator)
8Abnormal termination
pdrstrKFPR00765-I00Normal termination
44Warning termination (recovery processing terminated normally, but a warning level error that is unrelated to recovery processing occurred)
88Abnormal termination (an error occurred during recovery processing, but some RDAREAs were restored)
1212Abnormal termination
pdsetenv----0Normal termination
8Abnormal termination
pdsetup----0Normal termination
KFPS00011-I81Privilege error, file creation error, or locking error, for example
pdstartKFPS01850-I
KFPS05110-I
--0Normal termination
----4Message was displayed due to timeout.
8Abnormal termination (invalid option)
pdstbegin----0Normal termination
4At least one unit terminated normally
8Abnormal termination (invalid option or rsh error, for example)
pdsteditKFPK00300-I00Normal termination
40Warning termination
81Abnormal termination
pdstend----0Normal termination
4At least one unit terminated normally
8Abnormal termination (invalid option or rsh error, for example)
pdstjswap----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
pdstjsyncKFPS05840-I--0Normal termination
KFPS01841-E--8Abnormal termination (invalid option or unavailable statistical information)
pdstop----0Normal termination
4Abnormal termination (communication timeout during planned shutdown)
8Abnormal termination (invalid option)
pdstscls----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
pdstsinit----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdstsopen----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
pdstsrm----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
12Abnormal termination (when processing was retried at the standby system in a configuration without inheritance of IP addresses)
pdstsswap----0Normal termination
8Abnormal termination (invalid option or rsh error, for example)
KFPS05210-I--0Normal termination
pdsvhostname----0Normal termination
1Normal termination (server is inactive)
4Abnormal termination (HiRDB is inactive)
8Abnormal termination (command was executed at a server machine where the system manager is not located, or the specified server was not found, for example)
pdtrndec----0Normal termination
4Warning termination (there is at least one unsettled transaction)
8Abnormal termination (invalid option)
pdtrnqing----0Normal termination
4Warning termination (pd_ha_transaction=queing is missing in the system definition)
8Warning termination (invalid execution environment or operation error, for example)
12Abnormal termination (other than the above)
pdvrupKFPX24404-I00Normal termination
44Normal termination (an error occurred during execution of pdvrup, but upgrading was successful)
1212Abnormal termination
pdvwopt----0Normal termination
8Abnormal termination
Legend:
--: No message or code is displayed.
Reference note
If an invalid regular expression is specified in a command argument, the shell (such as C shell) might result in an error before the HiRDB command is called. In such a case, the shell sets 1 as the return code.
For example, if the command shown below is executed and there is no file whose name begins with aaa in $PDDIR/spool/pdsqldump, the shell might result in an error.
Example: pdvwopt $PDDIR/spool/pdsqldump/aaa*