AS400 system time and date.

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

Software/Hardware used:
ibm as400

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: 5  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.
  • 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:
  • rajeshece
    CHGSYSVAL. But chk once whether you are having authority or not to use this command
    1,230 pointsBadges:
  • uniteddata
    Thanks - it worked. What a relief! :)
    15 pointsBadges:
  • mkamil72
    HI All,
    if u see QDSIGNON or AS400 login screen showing Last IPL or Subsystem starting Date & Time, any possibility we display current date & time?
    15 pointsBadges:
  • WoodEngineer
    Your system can automatically keep it's time accurate by using the built-in SNTP feature.  Check out this article - setup is surprisingly simple:
    8,245 pointsBadges:

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.

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


Share this item with your network: