Hi all,
I am writing one sql script where i am writing some db2 commands like connect ,select etc.
but I have to store output of select command inside another file and I want to execute the file from my script .
so please anyone tell me how to call another .sql file from a script on db2 command line.
I am using the command db2 -vtf filename to execute the file from db2 command window. but it is giving error when i trying to write the same cmd in file.
