The pddbls command displays the status of RDAREAs.
HiRDB administrator
pddbls {-r RDAREA-name [, RDAREA-name]... | -r ALL} |
pddbls {-r RDAREA-name [, RDAREA-name]... | -r ALL |
Specifies the name of an RDAREA whose status is to be displayed.
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 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 information is to be displayed in DAT format.
When the -x option is specified, specifies that a header is to be displayed.
This option is related to in-memory data processing.
This option displays the status of the in-memory data buffer that was allocated to the in-memory RDAREAs specified in the -r option.
This option is related to in-memory data processing.
This option displays the following information about the in-memory RDAREAs specified in the -r option:
Specifies that the attribute of a temporary table RDAREA is to be displayed.
STATE OF RDAREA |
RDAREA status | Explanation | Segment information |
---|---|---|
CLOSE | Closed | DS |
CLOSE HOLD | Closed, error shutdown | -- |
CLOSE HOLD (INQ) | Closed, reference-possible 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 ACCEPT-HOLD | Closed, pdhold command-accepted | -- |
HOLD | Error shutdown | -- |
HOLD(INQ) | Reference-possible shutdown | D# |
HOLD(CMD) | Command shutdown | D# |
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 |
ACCEPT-HOLD | pdhold command-accepted | D# |
OPEN | Open | D |
D: Displayed
DS: Displayed when RDAREA open timing is set to DEFER or SCHEDULE.
--: Not displayed.
#: 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. |
Information that is displayed | Description | |
---|---|---|
Y (SYNC) | This is an in-memory RDAREA. | The in-memory data buffer and the in-memory RDAREA are synchronized (database synchronous status). |
Y (ASYNC) | The in-memory data buffer and the in-memory RDAREA are not synchronized (database asynchronous status). | |
Y (OBST-MEM) | An error has occurred in the in-memory data buffer (buffer error status). | |
Y (OBST-DB) | An error has occurred in the in-memory RDAREA (RDAREA error status). | |
Y (OBST-ALL) | Errors have occurred in both the in-memory data buffer and the in-memory RDAREA (buffer error status and RDAREA error status). | |
N | This is not an in-memory RDAREA. |
"RDAREA","ID","STATUS","UNUSED_SEGMENT","TOTAL_SEGMENT","SERVER","TYPE","OPNMODE","ORIGINAL-RDAREA", |