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 » General IBM MQ Support » Queue Creation Time vs. System Time

Post new topic  Reply to topic
 Queue Creation Time vs. System Time « View previous topic :: View next topic » 
Author Message
jcaron
PostPosted: Fri Jan 13, 2006 11:21 am    Post subject: Queue Creation Time vs. System Time Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

I'm running into a strange problem that maybe some of you have noticed before... We're running MQ 5.30 CSD10 under Red Hat Linux AS 2.1 - our system time is correct, set to EST, and kept in sync via NTP. When creating a queue, the queue creation time always shows as 5 hours less (our GMT difference) than the system time. Our system clock is not in GMT and 'timeconfig' in linux confirms this, however, it's as if MQ is convinced the system time IS GMT and subtracts the time zone difference anyway. However, any message put to a queue in this environment gets the system time as its put date/time. Does anyone have any thoughts or is this more of a PMR-worthy type of issue?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 13, 2006 11:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think this is working as documented.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcaron
PostPosted: Fri Jan 13, 2006 12:08 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

Jeff - thanks for your reply - Do you have any idea where would such silly behavior be documented?? I searched all of the IBM redbooks I have for "Creation Time" and found the following in the application programming guide which would seem to contradict what you've suggested:

===============================================

CreationTime (MQCHAR8)

This is the time when the queue was created. The format of the time is HH.MM.SS using the 24-hour clock, with a leading zero if the hour is less than 10 (for example 09.10.20).

- On z/OS, the time is Greenwich Mean Time (GMT), subject to the system clock being set accurately to GMT.
- In other environments, the time is local time.
- On OS/400, the creation time of a queue may differ from that of the underlying operating system entity (file or userspace) that represents the queue.

===============================================
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jan 13, 2006 12:20 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

So you're saying if the wallclock says NOON, and you're in New York, and you put a message, the PutTime in the message is 12:00:00 or 17:00:00?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Fri Jan 13, 2006 12:27 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What are you using to display the queue creation time?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcaron
PostPosted: Fri Jan 13, 2006 12:40 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

wschutz - Neither, first we're dealing with Queue Creation Time, not the PutTime of the message, the message times are correctly displaying as local time. If the NYC wall clock and system clock say 12:00, the Queue Creation Time displays as 07:00.

Jeff - I was using the MQ Explorer tool provided by IBM under windows. However, your question reminded me that this is not the only way to see this info, so I tried 'display queue(xxx)' at the command line on the queue manager in runmqsc and sure enough, the time is recorded correctly. Must be something in the way MQ Explorer converts the time locally when displaying. Again, thanks for your help.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jan 13, 2006 12:53 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
the message times are correctly displaying as local time.
I assume you're looking at the message using the Explorer as well, as the PutTime in the MQMD should be UTC (aka GMT)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jcaron
PostPosted: Fri Jan 13, 2006 1:22 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2005
Posts: 30
Location: Indianapolis, IN

Wayne - yup, I was also viewing the msg time in Explorer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Queue Creation Time vs. System Time
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.