Hi.
I have 2 DB2 statements:

connect
select

How can I create a batch file and redirect the output to a file?

I would like something like this:

run-select.cmd C:\select-output.txt

TIA...