Hi,
I have a file lets say FILE1 which contains list of files and the contents of this file are not going to change over time.
FILE1
---------
feedset1_${DATA_DATE1}.dat
feedset2_${DATA_DATE1}.dat
feedset3_${DATA_DATE1}.dat
accounts_${DATA_DATE2}.dat
customers_${DATA_DATE2}.dat
clients_${DATA_DATE2}.dat
Here DATA_DATE1= sysdate in YYYYMMDD
DATA_DATE2= (sysdate-1) in YYYYMMDD
I require a output file(FILE_OUT) on a daily basis whose content will be like below for sysdate='14Jun2009'.The content of this file will change everyday according to the date conditions.
FILE_OUT
----------
feedset1_20090614.dat
feedset2_20090614.dat
feedset3_20090614.dat
accounts_20090613.dat
customers_20090613.dat
clients_20090613.dat
Please let me know how can I achieve this in for loop...
Thanks.