pddbls (Display status of RDAREAs)
Function
The pddbls command displays the status of RDAREAs.
Executor
HiRDB administrator
Format
pddbls {{-r RDAREA-name [, RDAREA-name]... | -r ALL}
[-{l | a}] [-{b|o}][-x[-y]]
|{-q generation-number|-C} [-{l | a}][-x[-y]]}
pddbls {{-r RDAREA-name [, RDAREA-name]... | -r ALL
| -s server-name [, server-name]...}
[-{l | a}] [-{b|o}][-m][-x[-y]]
|{-q generation-number|-C} [-{l | a}][-m][-x[-y]}
Options
Specifies the name of an RDAREA whose status is to be displayed. You can also use batch specification of RDAREA names. For details about batch specification of RDAREA names, see 1.5.2 Batch specification of RDAREA names in operation commands.
The same RDAREA name should not be specified more than once; if specified, a duplicate RDAREA name is ignored. A maximum of 128 RDAREA names can be specified. If more than 128 RDAREA names are specified, the excess names are ignored.
If an RDAREA name is enclosed in double quotation marks ("), it is treated as being case sensitive; otherwise, it is treated as all uppercase letters. If an RDAREA name contains a blank, the entire name must be enclosed in double quotation marks (").
If the Bourne shell (sh), C shell (csh), or Korn shell (ksh) is used, it is also necessary to enclose the RDAREA name in single quotation marks (').
Specifies that information about all RDAREAs is to be displayed.
Specifies the name of a server when the status of all of that server's RDAREAs is to be displayed. The command displays information about all RDAREAs for the specified server.
A maximum of 128 server names can be specified. If more than 128 server names are specified, the excess names are ignored.
Specifies that information is to be displayed only for RDAREAs in shutdown status. When a server name is specified, the command displays information about the RDAREAs in shutdown status for the specified server only. When this option is omitted, the command displays information about all specified RDAREAs.
Specifies that the status of all RDAREAs with the same original RDAREA as the specified RDAREA is to be displayed.
The -o and -b options are mutually exclusive. If you specify -r ALL or -s server-name, the command displays the same information whether or not this option is specified.
Specifies that the information is to be displayed in DAT format.
When the -x option is specified, specifies that a header is to be displayed.
Specifies that shared RDAREA information is to be displayed.
When a shared RDAREA is specified in the -r option and the -m option is also specified, the command displays the applicable RDAREA and shared RDAREA information for all back-end servers.
Specifies that the status of all RDAREAs with the specified generation number is to be displayed. Specify this option to display information about RDAREAs for which replica RDAREAs have been defined in an environment where the inner replica facility is used.
The -q, -b, and -o options are mutually exclusive.
Specifies that the status of all current RDAREAs is to be displayed. Specify this option to display information about RDAREAs for which replica RDAREAs have been defined in an environment where the inner replica facility is used.
The -c, -b, and -o options are mutually exclusive.
Rules
Notes
Output format
STATE OF RDAREA |
RDAREA status | Explanation | Segment information |
---|---|---|
CLOSE | Closed | DS |
CLOSE HOLD | Closed, error shutdown | ![]() |
CLOSE HOLD (RIS E) | Closed, error shutdown (log application-disabled status due to a failure) | ![]() |
CLOSE HOLD (RIS L) | Closed, error shutdown (UAP in no-log mode, log application-disabled status due to utility execution) | ![]() |
CLOSE HOLD (RIS M) | Closed, error shutdown (log application-disabled status due to pdmod) | ![]() |
CLOSE HOLD (INQ) | Closed, reference-possible command shutdown | ![]() |
CLOSE HOLD (CMD) | Closed, command shutdown | ![]() |
CLOSE HOLD (BU) | Closed, updatable backup-hold | D |
CLOSE HOLD (BU I) | Closed, reference-possible backup-hold | D |
CLOSE HOLD (BU W) | Closed, updatable backup-hold (WAIT mode) | D |
CLOSE HOLD (BU IW) | Closed, reference-possible backup-hold (update WAIT mode) | D |
CLOSE HOLD(SYNC) | Closed, synchronization shutdown | ![]() |
CLOSE HOLD(ORG) | Closed, online reorganization hold | ![]() |
CLOSE ACCEPT-HOLD | Closed, pdhold command-accepted | ![]() |
HOLD | Error shutdown | ![]() |
HOLD(INQ) | Reference-possible command shutdown | D1 |
HOLD(CMD) | Command shutdown | D1 |
HOLD (BU) | Updatable backup-hold | D |
HOLD (BU I) | Reference-possible backup-hold | D |
HOLD (BU W) | Updatable backup-hold (WAIT mode) | D |
HOLD (BU IW) | Reference-possible backup-hold (update WAIT mode) | D |
HOLD(SYNC) | Synchronization shutdown | ![]() |
HOLD(ORG) | Online reorganization hold | D |
HOLD (RIS E) | Error shutdown (log application-disabled status due to a failure) | ![]() |
HOLD (RIS L) | Error shutdown (UAP in no-log mode, log application-disabled status due to utility execution) | ![]() |
HOLD (RIS M) | Error shutdown (log application-disabled status due to pdmod) | ![]() |
ACCEPT-HOLD | pdhold command-accepted | D1 |
OPEN | Open | D |
D: Displayed
DS: Displayed when RDAREA open timing is set to DEFER or SCHEDULE.
: Not displayed.
1 Segment information is not displayed during close processing.
Return code | Explanation | Required action |
---|---|---|
01 | RDAREA is in a status such that no information can be displayed (see cc...c for the RDAREA status). | Not applicable. |
02 | Information on an RDAREA cannot be displayed because the RDAREA is being accessed in the lock mode by another transaction. | Re-execute the command after the transaction that is accessing the RDAREA in the lock mode has terminated. |
03 | No global buffer was allocated to the RDAREA. | Allocate a global buffer, then re-execute the command. |
04 | HiRDB file access error occurred. | Take action appropriate to the corresponding error message. |
05 | Lock error occurred. | |
101 | Invalid RDAREA type was specified. | Check for a specification error; if there was no error, contact maintenance personnel. |
"RDAREA","ID","STATUS","UNUSED_SEGMENT","TOTAL_SEGMENT","SERVER","TYPE","OPNMODE","ORIGINAL-RDAREA", |