I have created a batch file and in inside the file i'm executing the below 2 commands in db2 command line.
db2cmd -i -w db2clpsetcp
db2 -tvmf D:\Db2_old.sql > D:\Vikas.log
I need to Pass a parameter to the batch file which will be used in the sql file for the extraction. Is there any way that we can achieve this?