Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get MQPUT Timestamp?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2066
Location: NY,USA

PostPosted: Wed Aug 08, 2018 10:33 am    Post subject: How to get MQPUT Timestamp?
Reply with quote

I am trying to see if there is any option or a way to get the time stamp when the actual message is PUT into MQ. Is there a way by MQINQ OR MQGET available in the application program ?
Back to top
View user's profile Send private message

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1035
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Aug 08, 2018 12:36 pm    Post subject:
Reply with quote

The PutTime is in the message descriptor (MQMD) that is returned for the MQGET. MQINQ gives just queue attributes.

Regards

Garry
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2066
Location: NY,USA

PostPosted: Wed Aug 08, 2018 7:04 pm    Post subject:
Reply with quote

Garry, Thanks and I was searching for "PIC X(26)" all along assuming it is going to be same as DB2 format.
Code:

** Date when message was put
 15  PUTDATE PIC X(8) VALUE SPACES.

** Time when message was put
 15  PUTTIME PIC X(8) VALUE SPACES.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1035
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Aug 08, 2018 7:06 pm    Post subject:
Reply with quote

Rohit, you're welcome. icon_smile.gif

Garry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts row change timestamp charanmsrit DB2 3 Tue Jul 10, 2018 12:30 pm
This topic is locked: you cannot edit posts or make replies. UTC Timestamp Log Thangavel COBOL Programming 5 Mon Jan 22, 2018 9:04 pm
No new posts Converting EBCDIC to Unicode (TimeStamp) muralikrishnan_new COBOL Programming 2 Mon Jul 25, 2016 10:42 pm
No new posts Convert Timestamp Value mrdinesh DFSORT/ICETOOL 7 Thu May 05, 2016 6:01 pm
No new posts Comparing timestamp in Synscort l.nethaji SYNCSORT 13 Wed Jan 20, 2016 4:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us