Neoview Command Interface (NCI) Guide (R2.5)
by MAXSERVER count. The default value is 0. This value cannot exceed the MAXSERVER
count.
To permit servicing incoming users, the data source goes to the STARTED state as soon as
the first server starts. These servers count as idle if they are not allocated to new users
immediately.
NOTE: If you set the STARTAHEAD value, the NDCS service ignores this value and does
not use it. Instead, you should set the INITSERVER value. The NDCS service uses the
INITSERVER value instead of STARTAHEAD.
SRVRIDLETIMEOUT timeout-value
is the number of minutes an NDCS server waits in the available state for a connection before
it stops itself when the count of NDCS servers exceeds the AVAILSERVER count for the
data source. The default value is SYSTEM_DEFAULT, which is defined by NDCS (10 minutes).
Other valid values are "-1" for no timeout and an integer of one to a large number for
"num-minutes". Double quotes are required around a value of -1 or num-minutes; double
quotes are optional around SYSTEM_DEFAULT.
CONNTIMEOUT timeout-value
is the number of minutes a client-server connection remains idle before the NDCS server
terminates the connection and becomes available. The default value is SYSTEM_DEFAULT,
which is defined by NDCS (10 minutes). Other valid values are "-1" for no timeout and an
integer of one to a large number for "num-minutes". Double quotes are required around
a value of -1 or num-minutes; double quotes are optional around SYSTEM_DEFAULT.
AUTOSTART {ON | OFF}
specifies whether the start mode for the initial NDCS servers is automatic (ON) or manual
(OFF). The default value is OFF. When AUTOSTART is OFF, you must manually start the
NDCS servers for the data source when the NDCS service is in the started state by using the
START DS command. See the “START DS Command” (page 176). When AUTOSTART is ON,
the NDCS service automatically starts the initial NDCS servers for the data source when the
NDCS service is started.
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.
• Only users associated with roles that have OPERATOR privileges can execute this command.
For more information, see the “ADD USER Command” (page 158) or “ALTER USER
Command” (page 167).
• The data source can be in any state when you alter it.
• The wild card (*) is not supported for the data source name, and the data source name is
case-sensitive.
• Omitting a parameter indicates no change to that attribute and does not reset that attribute
to its default value. Omitting all parameters results in an error.
• An error while changing one parameter does not stop or roll back changes to other
parameters.
• Changes are immediately visible to all NDCS services.
Example
This command modifies two attributes of the data source DDLTestDS:
SQL>alter ds DDLTestDS, maxserver 12, conntimeout "-1";
160 Connectivity Commands