|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Odd message header |
« View previous topic :: View next topic » |
Author |
Message
|
mattfarney |
Posted: Mon Jun 14, 2010 12:24 pm Post subject: Odd message header |
|
|
 Disciple
Joined: 17 Jan 2006 Posts: 167 Location: Ohio
|
I found a message in one of my queues with some unusual data.
I'm showing PutDate, PutTime, Format and a few other fields as spaces (I think - they don't actually show in hex, just as whitespace on the page). They show as spaces under amqsbcg.
I thought PutDate/PutTime were created by MQ internally, so I'm confused how I could get spaces.
-mf |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 14, 2010 12:45 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
so the un-usual data is space isn't it.
is it possible for you to paste the code over here..  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
mattfarney |
Posted: Mon Jun 14, 2010 12:56 pm Post subject: |
|
|
 Disciple
Joined: 17 Jan 2006 Posts: 167 Location: Ohio
|
I only have a print copy of the message header.
This was a production system, so my primary goal was removing the problematic message. It was causing a logging process to abend.
I didn't notice the odd data until hours later when looking at the message header.
For the lines in question, I see:
Code: |
PutDate : ' ' PutTime : ' ' |
Best I can do
-mf |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jun 14, 2010 2:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Yup, I've seen this before. The sending application set the option of either:
- "Set All Context" but they did not fill in the MQMD fields or
- "Set No Context"
Hence, those fields are blank. Tell the developer not use use that context option in their application.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jun 15, 2010 5:37 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
A programmer can specify MQPMO_NO_CONTEXT with no additional authority requireed - beyond the auth to put to the queue.
NO_CONTEXT tells the qmgr to clear all the context fields.
This can be tested by looking in the PutApplType field of the MQMD for MQAT_NO_CONTEXT value.
Please post the MQMD for the offending message. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|