DataStage and the DST change

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

DataStage and the DST change

Post by chulett »

For those of us in the US and needing to deal with the change in Daylight Savings Time start and end times this year - are there any 'DataStage issues' to be aware of? A 'big project' is underway to coordinate this change across the enterprise and I've been pinged for DataStage.

Seeing as how we're not doing anytime timezone specific and get anything time related from the O/S I'm assuming "we" are out of the loop on this.

Yes, no, maybe so? :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Re: DataStage and the DST change

Post by DSguru2B »

chulett wrote:Seeing as how we're not doing anytime timezone specific and get anything time related from the O/S I'm assuming "we" are out of the loop on this.
If thats the case then I am guessing it shouldnt be a problem. The only thing would be your scheduling criteria but thats out of your hands in into the scheduling folks side. I'd suggest having a chat with IBM as well on this. Maybe something might pop up.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
shawn_ramsey
Participant
Posts: 145
Joined: Fri May 02, 2003 9:59 am
Location: Seattle, Washington. USA

Post by shawn_ramsey »

The DataStage eService site states that they have engineers looking at it and you should subscribe to the notification e-mail list to get information as they make it available.

Support site: https://www.ascential.com/eservice
Shawn Ramsey

"It is a mistake to think you can solve any major problems just with potatoes."
-- Douglas Adams
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Thanks... I do receive Product Alerts for DataStage currently but just added a Platform Alert for our O/S as well. From the site:

A provision of the Energy Policy Act of 2005, extends Daylight Saving Time (DST) in the United States by four weeks, beginning in 2007. Systems and applications that process dates and times will be affected by this change. In 2007, U.S. Daylight Saving Time (DST) will begin on the second Sunday in March and end on the first Sunday in November. This change in the schedule -- the first in 20 years -- will make U.S. Daylight Saving Time four weeks longer. The U.S. Energy Act of 2005 made this change to reduce energy consumption. This will impact many existing technology products and solutions.

How do I know if these changes apply to me or if I could be affected?
Daylight Savings time is not observed by all countries, not even by all states within the United States. Date and time processing functions in systems and applications in countries implementing the new DST rules (U.S., Canada, Bermuda) are affected. Systems and applications in countries not implementing the DST changes could be affected if they support users, transactions, or applications involving countries that are implementing the new DST rules. Please check with your local or national government if you are unsure.

How do I know if my Information Integration products could be affected?
IBM Product Engineers are currently working on the Information Integration (formerly Ascential) products to determine if there will be any impact. We will be providing email notifications containing detailed information regarding DST as soon as it becomes available. To receive these notifications, you must subscribe yourself to our TechAlert email notifications for the products that you are using.



There is also this site to check for all products, it turns out:

http://www.ibm.com/support/alerts/us/en ... alert.html
-craig

"You can never have too many knives" -- Logan Nine Fingers
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Thanks for sharing. Craig and Shawn.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

There is no support entry yet for DataStage or any of the other related tools. There is one for Information Integrator which advises people to run a utility for the IBM Java Runtime Environments (JRE). The product itself is not impacted.

I think DataStage gets all its times and dates off the operating system. As for the Universe bundled engine or repository this support page indicates Universe is not affected but a Sun Java run time would require a patch.

So the question is, does the DataStage server have a java runtime environment on it?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

vmcburney wrote:So the question is, does the DataStage server have a java runtime environment on it?
Most definitely. Used by the XML stages at the very least.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:!: Here is the official verdict from IBM for all products:

https://www.ascential.com/eservice/public/dst.jsp

For DataStage, it's all about the Java components. So, if you are using the Web Services PACK or RTI / SOA, you'll need to upgrade the embedded JVM to be compliant. No mention of XML, which kind of surprised me. My understanding is it is based on the Xerces XML parser, which is typically Java, but could be C++ based. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Has anyone actualy done this on their system yet? Seems to be turning into a major PITA.

Using the IBM 'jtzu' (which is supposed to be used to patch the RTI Agent) to search for JREs that it can patch finds these relevant bits:

Code: Select all

parentDirectory1 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre/bin
parentDirectory2 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre
parentDirectory1 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre/lib
parentDirectory2 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre
/opt/datastage/Ascential/DataStage/DSEngine/java/jre:  Only a vendor's JRE License file located. No IBM License Notice.
parentDirectory1 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre/lib
parentDirectory2 - /opt/datastage/Ascential/DataStage/DSEngine/java/jre
parentDirectory1 - /opt/datastage/Ascential/RTIAgent/jre/bin
parentDirectory2 - /opt/datastage/Ascential/RTIAgent/jre
parentDirectory1 - /opt/datastage/Ascential/RTIAgent/jre/lib
parentDirectory2 - /opt/datastage/Ascential/RTIAgent/jre
parentDirectory1 - /opt/datastage/Ascential/RTIAgent/jre/lib
parentDirectory2 - /opt/datastage/Ascential/RTIAgent/jre
Javaexecutable - /opt/datastage/Ascential/RTIAgent/jre/bin/java
Found a SDK/JRE - /opt/datastage/Ascential/RTIAgent/jre
Which all seems reasonable. There's a different (HP) patch for the JVM embedded in DataStage and it seems to find the RTI version ok. However, following the instructions to actually patch that JRE gets me:

Code: Select all

/home/dsuser/dst/jtzu $ ./runjtzu.sh
*********** Welcome to the IBM Time Zone Update Utility for Java (JTZU) Version 1.3.7a ***********
JTZU Home: /home/dsuser/dst/jtzu
Set the variables using the script /home/dsuser/dst/jtzu/runjtzuenv.sh
Launching the Java Time Zone Updater Tool.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/datastage/Ascential/RTIAgent/jre/lib/PA_RISC2.0/motif21/libmawt.sl: specified file is not a shared library, or a format error was detected.
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1585)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1456)
        at java.lang.Runtime.load0(Runtime.java:737)
        at java.lang.System.load(System.java:811)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1585)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1441)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1479)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.sun.java.swing.plaf.motif.MotifLookAndFeel.class$(MotifLookAndFeel.java:1162)
        at com.sun.java.swing.plaf.motif.MotifLookAndFeel.<clinit>(MotifLookAndFeel.java:1162)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1677)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:426)
        at JTZUMain.main(JTZUMain.java:231)
:evil:

More calls to Support are in order, it seems.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Possibly a bad (corrupted) libmawt.sl file?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seems like it. I'll try some other things over the weekend and follow up with Support on Monday - I opened a case and got the 'will be forwarded to the appropriate engineer' email. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Getting late in the game, but just in case anyone is wondering...

This update is expecting to be run on the console and so have access to a GUI display. I just telnet in from my PC via putty and that was causing the abort.

In my case, I couldn't follow the instructions on How to patch a JRE or SDK at a known location as it has the NOGUI environment variable set to false. I needed to follow the instructions for How to selectively search for SDKs and JREs and then perform selective patching, which utilizes a NOGUI setting of true.

The first attempt to search took forever and eventually cratered with an 'out of memory' error. I then changed the contents of the DirectorySearch.txt file, removing the 'all' line and replacing it with my location for DataStage - in my case (and the UNIX default):

+/opt/datastage/Ascential

The search then went quickly and the patch (which uses a file of the search results which lists the 'patchable' JREs found) completed without error.

FYI.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply