dascrt - Create a Db2 administration server command
Last Updated: 2023-01-06
The Db2 Administration Server provides support services for remote administration and Db2 administration tools such as the Replication Center. If a system does not have a DAS, you can use this command to manually generate it.
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.
The dascrt command is located in the DB2DIR/instance directory, where DB2DIR is the location where the current version of the Db2 database product is installed.
This command is available on Linux® and UNIX operating systems only. On Windows operating systems, you can use the db2admin create command for the same purpose.
Note: The Db2 Administration Server (DAS) has been deprecated in Version 9.7 and might be removed in a future release. The DAS is not supported in Db2 pureScale® environments. Use software programs that use the Secure Shell protocol for remote administration. For more information, see Db2 administration server (DAS) has been deprecated .
Authorization
Root user authority
Required connection
None
Command syntax
Read syntax diagramSkip visual syntax diagram
dascrt
-u
DASuser
-d
Command parameters
-u DASuser
DASuser is the user ID under which the DAS will be created. The DAS will be created under the /home/DASuser/das directory.
The following restrictions apply:
If existing IDs are used to create Db2 DAS, make sure that the IDs are not locked and do not have expired passwords.
-d
Enters debug mode, for use with Db2 Service.
Usage notes
On AIX® 6.1 (or higher), when running this command from a shared Db2 copy in a system workload partition (WPAR) global environment, this command must be run as the root user. WPAR is not supported in a Db2 pureScale environment.