Hi
Even that didnt work
I have written the below lines in myscript.sql
db2 connect to SAMPLE
db2 select * from SAMPLE
db2 commit
db2 connect reset
And writen the below line in a file with the name test.bat
db2 -z C:\sqlres.out -tvsf C:\myscript.sql
I even tried with
db2 -z C:\sqlres.out -tvsf myscript.sql ( As u specified in the mail )
but both of them didnt work . Please let me know if i need to set any path or Db2 Variables.
Thanks