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 » IBM MQ API Support » Timestamp of message using Perl MQ Series module

Post new topic  Reply to topic
 Timestamp of message using Perl MQ Series module « View previous topic :: View next topic » 
Author Message
any2xml
PostPosted: Fri Jul 30, 2004 12:04 pm    Post subject: Timestamp of message using Perl MQ Series module Reply with quote

Apprentice

Joined: 18 May 2004
Posts: 42

I am using MQSeries perl module. I need to get the timestamp of a message that I read via MQGET.

The module refers to some attributes. Is timestamp one of them?

Thanks for any directions.
_________________
A Perl Hacker
http://www.goreliance.com
http://www.any2xml.com
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Jul 30, 2004 12:19 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Yep, the MsgDesc hash should have items for PutDate and PutTime.

Charlie
Back to top
View user's profile Send private message
bduncan
PostPosted: Sun Aug 01, 2004 11:02 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Another trick I've used is to create my own MsgIds when putting messages, and a component of that MsgId will be the timestamp of when the message was create (along with some other stuff to guarantee uniqueness) or you can always put the timestamp in the message content itself. The reason I needed to do this was I wanted higher resolution (I was using the messages for performance testing) so I used the Time::HiRes Perl package to generate very precise timestamps that I manually added to the messages...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Timestamp of message using Perl MQ Series module
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.