DB2Problem
Programmer
Hi,
I am having a shell program which is connecting to db2 and running a SELECT DISTINCT sql statement. I need to get the result of the SELECT DISTINCT statement in a FILE which at present is coming on the console.
Please suggest with code snippet.
Thanks
I am having a shell program which is connecting to db2 and running a SELECT DISTINCT sql statement. I need to get the result of the SELECT DISTINCT statement in a FILE which at present is coming on the console.
Please suggest with code snippet.
Thanks