Job Date, System Date
Posted: Fri Jul 12, 2019 1:08 am
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
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