Time zone considerations for the administrative task scheduler

The administrative task scheduler is configured to work in a given time zone.

By default, the administrative task scheduler works in the time zone that is defined for the z/OS® operating system as the local time, provided that the z/OS environment variable TZ is not set. If the TZ environment variable is set, the administrative task scheduler works in the time zone that is defined for this variable. You can set the TZ environment variable either in the z/OS Language Environment® default settings, or in the CEEOPTS definition of the started task of the administrative task scheduler.

When you add a task, you must specify the values for the begin-timestamp, end-timestamp, and point-in-time parameters of the stored procedure in the time zone that the administrative task scheduler works in. When listing scheduled tasks, the BEGIN_TIMESTAMP, END_TIMESTAMP, and POINT_IN_TIME columns are returned with values that are in time zone for the administrative task scheduler. Likewise, when listing the status of a task, the LAST_MODIFIED, START_TIMESTAMP, and END_TIMESTAMP columns are returned with values that are in time zone for the administrative task scheduler.

Important: You must configure all of the administrative task schedulers for a data sharing environment in the same time zone. Otherwise, the scheduled tasks might run at a time when they are not intended to execute.

The following example shows how to set the time zone for Germany.

//CEEOPTS  DD  *
ENVAR("TZ=MEZ-1MESZ,M3.5.0,M10.5.0")