Hi marvinengland,
Thanks for the update.
It works.
I have one more problem.
I am generating log file with the sqlloader.
ie.,
sqlldr USERID=config/config control=D:\data\Scripts\loaddata_del.ctl skip=2 log=d:\log\log01.log data=%%f
Now for every loop, there is log01.log file getting generated, and hence it is getting overwritten.
So, I tried to rename it to log01.log_<date>_<time>.
(I am using simple command
copy *.log *.log.%DATE:/=%_%time::=%.processed
del *.log
)
But, For every loop iteration., ie., once the loop starts the TIME STAMP remains constant for all the loop items.
How can i handle this ?
thx.