RE: How to launch a batch file ?

RE: How to launch a batch file ?

 

  

My guess: Try this from CLP - (OS Linux?)

db2 -tvf snapshot.txt > out3.txt

snapshot.txt would contain "get snapshot for dynamic sql on mcmprd1"

-----Original Message-----
From: Auguy BILOLO
[mailto:db2udbdba-ezmlmshield-x53599435.[Email address protected]
Sent: Thursday, December 30, 2004 10:00 AM
To: LazyDBA Discussion
Subject: 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.


---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


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