db2cmd
来源:互联网 发布:13.3寸mac玩cf分辨率 编辑:程序博客网 时间:2024/06/04 00:54
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.
Authorization
None
Required connection
None
Command syntax
>>-db2cmd--+-----+--------------------------------------------->< +- -c-+ +- -w-+ +- -i-+ '- -t-'
Command parameters
- -c
- Execute the command, and then terminate. For example, "db2cmd /c dir" causes the "dir" command to be invoked in a command window, and then the command window closes.
- -w
- Wait until the cmd.exe process ends. For example, "db2cmd /c /w dir" invokes the "dir" command, and db2cmd.exe does not end until the command window closes.
- -i
- Run the command window, sharing the same console and inheriting file handles. For example, "db2cmd /c /w /i db2 get dbm cfg > myoutput" invokes cmd.exe to run the DB2 command and to wait for its completion. A new console is not assigned, and stdout is piped to file "myoutput".
- -t
- Instead of using "DB2 CLP" as the title of the command window, inherit the title from the invoking window. This is useful if one wants, for example, to set up an icon with a different title that invokes "db2cmd /t".
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 98, the operating system may be running out of environment space. Check theconfig.sys file for the SHELL environment setup parameter, and increase its value accordingly. For example:
SHELL=C:\COMMAND.COM C:\ /P /E:32768
This topic can be found in: Command Reference.
阅读全文
0 0
- db2cmd
- db2cmd
- db2cmd参数
- db2cmd无法执行
- java中调用db2cmd命令
- DB2远程连接方法---------db2cmd
- 通过 db2cmd 查看 [ SQLSTATE ] 对应错误描述
- db2cmd建库,备份,恢复等日常操作
- Python网络爬虫(三)——Beutiful Soup库入门
- 远程使用jupyter
- 正则表达式
- 在SpringBoot中使用JSP开发网页
- 测试用例设计(以QQ传输文件为例)
- db2cmd
- 每日一题之查找单链表的第K个节点
- Linux常用命令
- linux CAT与ECHO指令用法详解
- java计算器 中缀转后缀(不喜勿喷,没有毕业的时候写的)
- Unity的几中计时器
- js面向对象(只关注对象提供的功能,而不需要关系其细节)
- recycleview定位到具体的条目
- 在linux下加载一块硬盘到目录上