AS400 system time and date.

15 pts.
Tags:
AS400 Command
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

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    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
    125,585 pointsBadges:
    report
  • rajeshece
    CHGSYSVAL. But chk once whether you are having authority or not to use this command
    1,215 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following