The System Date is a System Value called QDATE.
Using the command CHGSYSVAL, you can modify it.
You really should never have to change this unless your are doing an IPL and then not every time.
Remember there is a difference between the System date and a job date.
Last Wiki Answer Submitted: October 4, 2012 10:32 pm by CharlieBrowne32,785 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
The CHGSYSVAL command can be used, or the option to ‘Change’ from the WRKSYSVAL command is also available.
But those are only “how” to make the actual change. A procedure for making such a change can be much more complex.
The system date and time is a critical part of auditing/tracking events that happen on the system. If date/time is reset backwards, there are system elements that might need attention. Journals, for example, are strongly tied to timestamps. Message queues also have timestamp relationships. (That includes joblog messages.)
Changes might require system downtime in order to avoid creating duplicate timestamps that would mess up recovery or restore efforts or would confuse any programs or reports that process according to timestamps.
Also, changes to system date/time should be done with consideration to system timezone. Make sure the timezone is correct before changing time. If you’re simply changing the hour, it might be that the timezone is wrong.
In order to know what an appropriate procedure would be, you should describe the reason for making the change, including how large the change will be. It might be that you’ll be better off running an “attended IPL” and setting the values during that process.
The CHGSYSVAL command can be used, or the option to ‘Change’ from the WRKSYSVAL command is also available.
But those are only “how” to make the actual change. A procedure for making such a change can be much more complex.
The system date and time is a critical part of auditing/tracking events that happen on the system. If date/time is reset backwards, there are system elements that might need attention. Journals, for example, are strongly tied to timestamps. Message queues also have timestamp relationships. (That includes joblog messages.)
Changes might require system downtime in order to avoid creating duplicate timestamps that would mess up recovery or restore efforts or would confuse any programs or reports that process according to timestamps.
Also, changes to system date/time should be done with consideration to system timezone. Make sure the timezone is correct before changing time. If you’re simply changing the hour, it might be that the timezone is wrong.
In order to know what an appropriate procedure would be, you should describe the reason for making the change, including how large the change will be. It might be that you’ll be better off running an “attended IPL” and setting the values during that process.
Tom
CHGSYSVAL. But chk once whether you are having authority or not to use this command