DB2 10.5 for Linux, UNIX, and Windows

db2admin - DB2 administration server command

This utility is used to manage the DB2® Administration Server (DAS). If no parameters are specified, and the DAS exists, this command returns the name of the DAS.

Important: This command has been deprecated and might be removed in a future release because the DB2 administration server (DAS) has been deprecated in Version 9.7. For more information, see DB2 administration server (DAS) has been deprecated.

On Linux and UNIX operating systems, the executable file for the db2admin command can be found in the DASHOME/das/bin directory, where DASHOME is the home directory of the DAS user. On Windows operating systems, the db2admin executable is found under the DB2PATH\bin directory where DB2PATH is the location where the DB2 copy is installed.

Authorization

DASADM on UNIX operating systems but not associated with a 64-bit instance.

Local administrator on Windows operating systems.

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-db2admin----------------------------------------------------->

>--+-----------------------------------------------------------------+-><
   +-START-----------------------------------------------------------+   
   +-STOP--+--------+------------------------------------------------+   
   |       '-/FORCE-'                                                |   
   +-CREATE--+----------------------+--+---------------------------+-+   
   |         '-/USER:--user-account-'  '-/PASSWORD:--user-password-' |   
   +-DROP------------------------------------------------------------+   
   +-SETID--user-account--user-password------------------------------+   
   +-SETSCHEDID--sched-user--sched-password--------------------------+   
   +- -?-------------------------------------------------------------+   
   '- -q-------------------------------------------------------------'   

Command parameters

START
Start the DAS.
STOP /FORCE
Stop the DAS. The force option is used to force the DAS to stop, regardless of whether or not it is in the process of servicing any requests.
CREATE /USER: user-account /PASSWORD: user-password
Create the DAS. If a user name and password are specified, the DAS will be associated with this user account. If the specified values are not valid, the utility returns an authentication error. The specified user account must be a valid SQL identifier, and must exist in the security database. It is recommended that a user account be specified to ensure that all DAS functions can be accessed. To create a DAS on UNIX operating systems, use the dascrt command.
DROP
Deletes the DAS. To drop a DAS on UNIX operating systems you must use the dasdrop command.
SETID user-account/user-password
Establishes or modifies the user account associated with the DAS.
SETSCHEDID sched-user/sched-password
Establishes the logon account used by the scheduler to connect to the tools catalog database. Only required if the scheduler is enabled and the tools catalog database is remote to the DAS. For more information about the scheduler, see the Administration Guide.
-?
Display help information. When this option is specified, all other options are ignored, and only the help information is displayed.
-q
Run the db2admin command in quiet mode. No messages will be displayed when the command is run. This option can be combined with any of the other command options.