View previous topic :: View next topic
|
Author |
Message |
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3077 Location: NYC,USA
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
The PutTime is in the message descriptor (MQMD) that is returned for the MQGET. MQINQ gives just queue attributes.
Regards
Garry |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3077 Location: NYC,USA
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Rohit, you're welcome.
Garry |
|
Back to top |
|
|
|