> OK, sounds great, but could you please give me an example?
>
> Thank you,
> Sascha
A very simple example without error checking which doesn't need any
additional software:
File: runclp.bat
Contents:
db2 connect to $1 user $2 using $3
db2 select * from table
db2 connect reset
Command to run this:
runclp yourdb youruser yourpw
You can also learn a scripting language and add the needed error
checking to it. I use ooRexx for my scripts, it's free and you can
download it fom the sourceforge project page.