Hi , kindly help me in urgent.
I have an requirement wherein,
1) A input PS file contain date in the format ddmmyyyy.
2) Use date input file and create db2 query in output file. the qry should look like select timestamp('CCYY-MM-DD.01.01.000001') - 1 months from sysibm.sysdummy1;
2) Run the db2 query present in file created in setp1
3) use the output file created in step2 in DB2 reorg application to clean table (Reorg with discard option)