The system date and time be set with various tools.
Attention: Customer applications may be sensitive to
system date and time settings. Incorrect date and time settings may cause
data loss. Ensure that the customer knows the date and time that you have
set.
Note: If the system is logically partitioned, then you must use
the Advanced System Management Interface (ASMI) to set the system date and
time.
For information on using ASMI to set the system
date and time, see Changing the time of day.
Use
one of the following methods to set the date and time:
- If the system is powered off, perform a Manual mode (attended) IPL. You
can set the date and time on the IPL Options display.
- If the system is powered on, perform the following procedure:
- To set the correct date, enter the system command:
CHGSYSVAL QDATE VALUE('mmddyy')
where:
mm = month
dd = day
yy = year
- Press Enter.
Note: This sample uses the month, day, and year
format. To determine the format for your system, enter DSPSYSVAL QDATE.
- To set the correct time, enter the system command:
CHGSYSVAL
QTIME VALUE('hhmmss')
where:
hh = 24-hour time
mm = minutes
ss = seconds
- Press Enter. This ends the procedure.