Neoview Command Interface (NCI) Guide (R2.5)
Table C-5 STATUS DS Output (continued)
DescriptionColumn
Flag indicating the default data source:
— If this value is 1, the data source is the default data source.
— If this value is 0, the data source is not a default data source.
DEFAULTFLAG
Current state of the data source:
0 = DS_NOT_AVAILABLE
1 = DS_STARTING
2 = DS_STARTED
3 = DS_STOPPING
4 = DS_STOPPED
5 = DS_UNINITIALIZED
DSSTATE
Maximum number of NDCS servers configured for the data sourceMAXSRVRCNT
Number of NDCS servers that the NDCS service starts for the data source
when the data source starts (ahead of when they are needed)
INITSRVRCNT
Number of NDCS servers that are available for client connections when the
data source is in the started state
AVAILSRVRCNT
Not usedSTARTAHEADCNT
Total number of running NDCS serversCURRENTSRVRREGISTERED
Number of NDCS servers connected to clientsCURRENTSRVRCONNECTED
Date and time (in the client's local time) of the last update of the data source's
state
STATECHANGETIME
Example
This command displays the status of all data sources in the service $MXOAS:
SQL>status ds $mxoas;
STATUS SERVER Command
The STATUS SERVER command displays the status of the NDCS servers for the specified NDCS
service.
Syntax
STATUS SERVER $service-name[, DSNAME data-source-name]
$service-name
is the name of the association server of the NDCS service.
DSNAME data-source-name
is the name of the data source. data-source-name is case-sensitive and cannot be the
asterisk (*) wild card. If you do not specify a data source name, the command displays the
status of all the data sources running in the specified NDCS service.
Considerations
• To run this command in SQL mode, you must first run the CMDOPEN command. This
command does not run in CS mode.
• The command requires an SQL terminator.
• The wild card (*) is not supported for the data source name, and the data source name is
case-sensitive.
178 Connectivity Commands