ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Timezone in WSMQ on Z/OS

Post new topic  Reply to topic
 Timezone in WSMQ on Z/OS « View previous topic :: View next topic » 
Author Message
matthewmatcham
PostPosted: Wed Sep 06, 2006 1:51 am    Post subject: Timezone in WSMQ on Z/OS Reply with quote

Novice

Joined: 06 Sep 2006
Posts: 12
Location: UK

Hi

I've noticed that our implementation of MQ on z/OS does not adjust for daylight savings. Therefore for part of the year MQ messages have a creation time in the MQMD that is an hour out of sync. Is this a configurable option? I've spoken to a sysprog who says that it isn't, but this seems strange to me. I'm based in the UK and all other features on z/OS are correctly configured for this e.g. CICS, DB2 etc.

I'm a developer and this is an irritating feature, particularly for support reasons when looking at the creation time in the MQMD of a message. I've also had more than one instance where I've wanted to use the MQMD creation time in an application but avoided it for this reason.

We're running WSMQ 5.3 on z/OS 1.4.
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Sep 06, 2006 6:26 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

It does not adjust for daylight saving time (DST), because it does not need to. MQSeries timestamps are always GMT. DST is not an issue.

Only your local time changes relative to GMT, if you are in a location that observes DST. Since you're in the UK, you must be in the same time zone as Greenwich, but go to DST at certain times of year. There are several routines builtin to the mainframe that will convert GMT to local time.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer


Last edited by tleichen on Wed Sep 06, 2006 6:56 am; edited 1 time in total
Back to top
View user's profile Send private message
matthewmatcham
PostPosted: Wed Sep 06, 2006 6:55 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2006
Posts: 12
Location: UK

tleichen wrote:
MQSeries timestamps are always GMT. Daylight saving time (DST) is not an issue.

Only your local time changes relative to GMT, if you are in a location that observes DST.


When we're observing daylight savings, CICS time (e.g. EIBTIME) and DB2 time (e.g. CURRENT TIMESTAMP) also observe them and are consistent with local times. However MQ does not...
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Sep 06, 2006 6:58 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Read my post again. All MQSeries timestamps are GMT.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
matthewmatcham
PostPosted: Wed Sep 06, 2006 7:09 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2006
Posts: 12
Location: UK

Sorry, yes I see that but I don't understand the "not an issue" part. If your local time is not GMT then other products on z/OS such as CICS or DB2 will observe the daylight savings and adjust their time zones accordingly. Therefore the timestamps displayed in the MQMD are out of sync with everything else during these times.

Sorry if I seem confused but I am
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Sep 06, 2006 7:19 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Your confusion is due to the fact that you happen to live in the timezone where GMT is. For you, MQ appears like it has local time stamps for half of the year. That is only because of where you are. For the rest of us, the MQSeries timestamps never match local time of the machine.

As I said earlier, you need to convert MQ timestamps to local time always! There are different routines for different languages that will convert local time to GMT and vice-versa.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
matthewmatcham
PostPosted: Wed Sep 06, 2006 7:40 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2006
Posts: 12
Location: UK

tleichen wrote:
Your confusion is due to the fact that you happen to live in the timezone where GMT is. For you, MQ appears like it has local time stamps for half of the year. That is only because of where you are. For the rest of us, the MQSeries timestamps never match local time of the machine.

As I said earlier, you need to convert MQ timestamps to local time always! There are different routines for different languages that will convert local time to GMT and vice-versa.


Okay, got it!! So this is indeed a common theme, and can't be reconfigured.

Thanks for your patience!
Back to top
View user's profile Send private message
Terder01
PostPosted: Sat Oct 21, 2006 10:31 am    Post subject: Reply with quote

Newbie

Joined: 20 Oct 2006
Posts: 1

http://adriennebarbeau.org/movies/1
Back to top
View user's profile Send private message
LuisFer
PostPosted: Sat Oct 21, 2006 11:54 am    Post subject: Reply with quote

Partisan

Joined: 17 Aug 2002
Posts: 302

Terder01 wrote:
http://adriennebarbeau.org/movies/1


Be carefull with this link
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Oct 21, 2006 4:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

LuisFer wrote:
Terder01 wrote:
http://adriennebarbeau.org/movies/1


Be carefull with this link


I never download the codec from those sites... You don't know what kind of backdoor it might open...(pun)...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Timezone in WSMQ on Z/OS
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.