Hi,
we are using *MONTH / *DAY / *YYYYC / *TIME for writing protocol files into IFS from inside a batch job.
Problem is that *MONTH / *DAY / *YYYYC seem to be the job values of the day when the batch job was started.
When the job runs overnight these values do not change - *TIME is always correct.
So when the batch job starts today (11th of July) and runs until tomorrow morning a file created 10 minutes after midnight will be named
2019_07_11_000010 instead of 2019_07_12_000010...
Are there other system values that we should use instead of *MONTH / *DAY / *YYYYC ?
Best regards,
Joerg
Job Date, System Date
Re: Job Date, System Date
#STD_DTIMX.now will give you the correct time stamp. You could extract the values from there.
Or #Std_Datex.now and #std_Timx.now
Or #Std_Datex.now and #std_Timx.now
Art Tostaine