How to launch a batch file ?

How to launch a batch file ?

 

  

Hello,

Could you please tll me how to create and launch a DB2 batch file. I have a
batch file which contains a db2 command as :

db2 get snapshot for dynamic sql on mcmprd1 > out3.txt

When I execute the batch file by right-click and Open it, no thing is executing
and an error message is showing up.

What I'm doing wrong ? I m limited to launch this file as db2 -f batch.bat from
the command line processor ?

Augustin

----------------------------------------------------------------
This message was sent using XNETSECURE.COM, the secure Internet Messaging
System.

DB2 & UDB email list listserv db2-l LazyDBA home page