Chile's Ministry of Energy has announced new dates for the start and end of Daylight Saving Time, starting in 2019.
From 2019, Chileans will turn the clocks back one hour at the end of Daylight Saving Time (DST) at midnight between the first Saturday night and Sunday morning of April every year. They will then turn clocks forward again to begin DST on the first Saturday/Sunday of September.
The first change following the new dates will be on the night between Saturday, April 6, 2019 and Sunday, April 7, 2019.
Chile Standard Time (CLT) is 4 hours behind Coordinated Universal Time (UTC). During Daylight Saving Time, clocks are set forward one hour to Chile Summer Time (CLST), at UTC-3.
What precautions should be taken to prevent any problem related to DST changes in DSERIES?
Workload Automation DE 12.x, 11.3.x
Since DE relies on java JRE timezone settings, and not on O.S timezone, we need to update JRE timezone settings manually.
This is done by using tzupdater tool, and pointing it to read a tzdata file, provided by IANA.
The Chile's DST change was implemented in "2018f" version of the tzdata file. However, since this file version, tzupdater is no more able to read the tzdata files.
If you point tzupdater to any one of the above mentioned tzdata file versions, the following error will be displayed:
Failed: java.lang.Exception: Failed while parsing file 'C:\Users\USER1\AppData\Local\Temp\3\tz.tmp\asia' on line 1655 'Rule Japan 1948 1951 -
Sep Sat>=8 25:00 0 S'
java.lang.Exception: Failed while parsing file 'C:\Users\USER1\AppData\Local\Temp\3\tz.tmp\asia' on line 1655 'Rule Japan 1948 1951 - Sep
Sat>=8 25:00 0 S'
So, we need to point tzupdater to a modified tzdata file. This solution is described here:
Based on all above explained, please execute the following procedure:
1- Stop DSERIES service (If running HA, stop secondary server first, then stop primary)
2-Download the Java Time Zone Updater Tool
3- Extract the Time Zone Updater 2.2.0 (tzupdater-2.2.0.zip) file and save the tzupdater.jar file in <de_install_directory>/jre/bin directory
4- In a command prompt (CMD) window, as Administrator, navigate to the <de_install_directory>/jre/bin directory and run the following syntax to check the version of tzupdater.jar file:
java -jar tzupdater.jar -V
5- In a command prompt (CMD) as Administrator, navigate to the <de_install_directory>/jre/bin directory and run the following syntax to manually patch the installation with the tzdata2018g (timezone data):
java -jar tzupdater.jar -l https://web.cs.ucla.edu/~eggert/tz/release/2018g/tzdata2018g-rearguard.tar.gz
If the machine does not have access to download the tzdata file, download it manually and place in a temporary folder (C:\Temp), then run the following syntax to update the JRE:
java -jar tzupdater.jar -l file:///C:/Temp/tzdata2018g-rearguard.tar.gz
6- If DSERIES running in HA, execute the steps 3, 4 and 5 in standby server too.
7- Start DSERIES service (If running HA, start primary server first, then start secondary)