Opens the CLP-enabled DB2 window, and initializes the DB2 command line environment. Issuing this command is equivalent to clicking on the DB2 Command Window icon.
This command is only available on Windows NT, Windows 95, Windows 98, and Windows 2000.
Authorization
None
Required Connection
None
Command Syntax
>>-db2cmd----+----+-------------------------------------------->< +--c-+ +--w-+ +--i-+ '--t-'
Command Parameters
Note: | All switches must appear before any commands to be executed. For example: db2cmd /t db2. |
Usage Notes
If DB21061E ("Command line environment not initialized.") is returned when bringing up the CLP-enabled DB2 window, or running CLP commands on Windows 95 or Windows 98, the operating system may be running out of environment space. Check the config.sys file for the SHELL environment setup parameter, and increase its value accordingly. For example:
SHELL=C:\COMMAND.COM C:\ /P /E:32768