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 » WebSphere Message Broker (ACE) Support » GMT TimeStamp

Post new topic  Reply to topic
 GMT TimeStamp « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Wed Mar 02, 2011 6:08 am    Post subject: GMT TimeStamp Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I have a requirement where in i need to set the Current Thailand Time for one particular field in my mapping, my Broker is in Singapore. Initially i took CURRENT TIMESTAMP and subtracted 1 from that (since time diff betw Thailand and Singapore is 1) and mapped the field. But later i was suggested to use the GMTTimeStamp instead of CURRENT TIMESTAMP.

Now when i tried using the GMTTIMESTAMP, i can find that i gives the current time of Singapore and not the Current GMT Time. Still i get the same Singapore time and not the GMT Time.

Is this the behaviour of GMT Time stamp? What is the difference between GMT TIME STAMP and CURRENT TIMESTAMP as they both give the same time?
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Wed Mar 02, 2011 6:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Is CVT set?

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ak17900_.htm
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kash3338
PostPosted: Wed Mar 02, 2011 9:38 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

lancelotlinc wrote:
Is CVT set?


Thanks for your response.

What is this CVT and how and where do we need to set this?
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Wed Mar 02, 2011 10:29 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Quote:
WebSphere Message Broker reports the time using Coordinated Universal Time (UTC), which does not account for leap seconds. However, on z/OS, the message putTime that is reported by WebSphere MQ in the MQMD header of a message does account for leap seconds, using the value specified for the number of leap seconds in the CVT field.
This inconsistency can cause:
Problems when debugging
Problems with message flows if you use timestamps to control the flow of messages
Misinformation
Solution: Set the CVT field so that it agrees with the UTC leap seconds. Alternatively, add an offset to adjust a z/OS timestamp reading. For example, add 20 seconds when getting the CURRENT_TIME in ESQL.




Quote:
Long time zones work best when used in the Continent/City format. Similarly, on Unix systems, the TZ environment variable should be specified using the Continent/City format.


What is the value of your CVT and TZ variables? For Broker 6.1 and previous, Olson TZ format is supported. For WMB 7 and newer, use POSIX TZ format.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Mar 03, 2011 5:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

kash3338 said:
Quote:
Now when i tried using the GMTTIMESTAMP, i can find that i gives the current time of Singapore and not the Current GMT Time. Still i get the same Singapore time and not the GMT Time.
That sounds like a difference of several hours. I may be missing something, but I don't see how leap seconds could account for a time difference of more than a few seconds either way.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Mar 03, 2011 5:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kimbert wrote:
kash3338 said:
Quote:
Now when i tried using the GMTTIMESTAMP, i can find that i gives the current time of Singapore and not the Current GMT Time. Still i get the same Singapore time and not the GMT Time.
That sounds like a difference of several hours. I may be missing something, but I don't see how leap seconds could account for a time difference of more than a few seconds either way.


The OP is ambiguous with his quandry. Didn't say what platform was and did not respond to the query about what the TZ value is. Therefore, asking that question would indicate whether or not the platform is z/OS and even if he ever read that link.

Doesn't look like the OP know how to use Google.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
samchenchu
PostPosted: Thu Aug 22, 2013 5:22 am    Post subject: Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

Can any one let me know how to Set the CVT field ?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 23, 2013 3:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

samchenchu wrote:
Can any one let me know how to Set the CVT field ?


Don't open old posts. Create your own. DO YOUR OWN WORK. Read the InfoCentre or take the proper training to learn how.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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 » WebSphere Message Broker (ACE) Support » GMT TimeStamp
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.