The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > The Lounge > What's on Your Mind? > Chat with iBot - Our RSS Robot Girl
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-01-2007
kirfan kirfan is offline
Registered User
 

Join Date: Dec 2006
Posts: 0
Time issue with two different zones

Our city zone is Pacific standard time(PST). and our unix server time zone is GMT.
I am calling informatica job in unix script. Below is the steps in script.
1. Before starting the informatica job i get the datetime in startdate variable.
2. Calling the informatica configuration file which has the timezone as GMT.
3. Now the informatica job is called and upon the completion of Informatica job, I get the datetime in enddate variable.

This works fine in development environment. ie startdate and enddate variable values are in GMT timezone.
In Production the above unix script is called in Control M scheduler application which has the PST. The starttime variable is set to PST and enddate variable is set to GMT. so we were not able to get exact time difference. Is this due to the Control M scheduler timezone.
Control M and our login account are same. I checked in the production unix box time zone using TZ variable shows GMT timezone.
Pl help me to solve this issue.
Remove advertisements
!!
Forum Sponsor