15 pts.
 AS400 system time and date.
What is the command or procedure for changing the system as400 date. Please be very specific.

Software/Hardware used:
ibm as400
ASKED: October 4, 2012  8:41 PM

Answer Wiki:
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  CharlieBrowne   32,785 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,785 pts. , jakeryan   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 107,735 pts.

 

CHGSYSVAL. But chk once whether you are having authority or not to use this command

 1,025 pts.