Hi,
I've created a windows batch file and want to use it to execute a few DB2 commands. I've read the documentation and it told me that I must call the db2cmd.exe followed by db2 command I want to execute. Here is an example of a batch file: myFile.bat
@echo off
db2cmd -c -w -i db2 connect to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.