On Wed, 22 Jun 2022 16:00:38 +0300, saurabh khandelwal wrote: > > ... in some of the files, we are getting yesterday’s date (today’s -1) . > Is that because the Windows files are generated before midnight but the TSO job runs after midnight?
That's a process problem; it can't be fixed in code. You might be able to fudge the timezone: 533 $ TZ=XyZ11 date '+get NonMon_DailyExtract_KWT_%Y.%m.%d.txt' get NonMon_DailyExtract_KWT_2022.06.22.txt 534 $ TZ=XyZ-13 date '+get NonMon_DailyExtract_KWT_%Y.%m.%d.txt' get NonMon_DailyExtract_KWT_2022.06.23.txt ... But it's better to fix the process. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
