Datastage Time Different from Server Time
Moderators: chulett, rschirm, roy
Datastage Time Different from Server Time
Hello All,
The datastage time that shows up in the director is GMT. But the server time is Eastern Time. Does anybody know how to fix this.
I also noticed that if I login as root and issue a date command in AIX, it gives me Eastern Time. If I su to dsadm and issue a date command it gives me GMT.
# whoami
root
# date
Wed Nov 11 15:08:06 EST 2009
# su - dsadm
$ date
Wed Nov 11 20:08:21 America/New_York 2009
It says America/New_York but the time is actually GMT.
Thanks for your help in advance.
The datastage time that shows up in the director is GMT. But the server time is Eastern Time. Does anybody know how to fix this.
I also noticed that if I login as root and issue a date command in AIX, it gives me Eastern Time. If I su to dsadm and issue a date command it gives me GMT.
# whoami
root
# date
Wed Nov 11 15:08:06 EST 2009
# su - dsadm
$ date
Wed Nov 11 20:08:21 America/New_York 2009
It says America/New_York but the time is actually GMT.
Thanks for your help in advance.
It's still just a UNIX user and down at the O/S level it's no different from any other user - it's only DataStage in the engine's environment that gives it special privileges. Have you compared dsadm's .profile to some of the others to see if it has anything... 'special' in it that could be affecting this?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
Sorry to bump an old topic, but does anyone know of a resolution to this?
Code: Select all
$> whoami
root
$> date
Wed May 25 11:25:07 GMT+10:00 2011
$> echo $TZ
Australia/Melbourne
$> exit
$> whoami
jmckeever
$> date
Wed May 25 01:25:11 Australia/Melbourne 2011
$> echo $TZ
Australia/Melbourne
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
D'you mean that it's clever enough to recognize that you're English?!!
What's in the startup script (.profile, .bash_profile, etc.) for dsadm? For root? For jmckeever?
What's in the startup script (.profile, .bash_profile, etc.) for dsadm? For root? For jmckeever?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Just since it was bumped...
The director being a client side application, might be getting te settings from the client side, the same as your NLS setting when inporting a DSX file. So my guess would be setting your client with the same time zone as your server or the other way around.
IHTH (I Hope This Helps)...
The director being a client side application, might be getting te settings from the client side, the same as your NLS setting when inporting a DSX file. So my guess would be setting your client with the same time zone as your server or the other way around.
IHTH (I Hope This Helps)...
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
-
- Participant
- Posts: 8
- Joined: Mon Nov 09, 2009 7:47 pm
Hi,buddy
Have you got the root cause for this phenom? I came across the same case as you and I just found that when I logging in system without executing the dsenv file, the system time would be correct, but when I logging in system with executing the dsenv file, the time would be different with the root user.
I have checked the dsenv file carefully but didn't get any clue for it.
Expecting your solution for sharing.
Any reply would be appreciated.
Thanks in advance.
Have you got the root cause for this phenom? I came across the same case as you and I just found that when I logging in system without executing the dsenv file, the system time would be correct, but when I logging in system with executing the dsenv file, the time would be different with the root user.
I have checked the dsenv file carefully but didn't get any clue for it.
Expecting your solution for sharing.
Any reply would be appreciated.
Thanks in advance.
NOTHING IS IMPOSSIBLE