>> Thanks you so much. Finally below code worked. But in this, we are getting 
>> current (today’s date) but in some of the files, we are getting yesterday’s 
>> date (today’s -1) .

Saurabh,

The date and time are extracted from the system where the job runs.  Are you 
telling that 2 jobs running on the SAME system are getting different dates ? 
One job getting current date and other getting yesterday's date?  That is 
nearly impossible unless 1 job ran after midnight and the other ran on previous 
day.

Do you need Current date or yesterday's date?

Thanks,
Kolusu

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to