IBM Support

z/OS SET TIMEZONE command handled by TWSz just like SET CLOCK

Question & Answer


Question

New z/OS releases have a SET TIMEZONE command which adjusts the GMT OFFSET instead of directly setting the local clock. Thus the GMT OFFSET is not changed when adjusting the time for Daylight Savings, etc. TWSz handles this command with no problems.

Answer

TWS-z/OS auto-capture of time changes via either SET CLOCK or SET TIMEZONE commands works by capturing the SMF90 record via SMF exit IEFU83. Both SET CLOCK and SET TIMEZONE commands create identical SMF90 records, so TWSz handles these commands identically, adjusting the GMT OFFSET of the capturing TRACKER, and relaying that information to the CONTROLLER task.

.

z/OS documentation recommends using the SET TIMEZONE command because rather than entering a new local time, then having to press the ENTER key at exactly the correct instant, as is required by SET CLOCK, this command adjusts the DIFFERENCE between the local and GMT clocks. Thus it can be entered at any time without need to exactly synchronize the value entered in the command with the instant at which the ENTER key is pressed.

.

The syntax of the command is:


T/SET [[DATE=yyyy.ddd][,CLOCK=hh.mm.ss]]

[{"Product":{"code":"SSRULV","label":"IBM Workload Scheduler for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 September 2019

UID

swg21380147