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 » Odd message header

Post new topic  Reply to topic
 Odd message header « View previous topic :: View next topic » 
Author Message
mattfarney
PostPosted: Mon Jun 14, 2010 12:24 pm    Post subject: Odd message header Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon Jun 14, 2010 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
mattfarney
PostPosted: Mon Jun 14, 2010 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Mon Jun 14, 2010 2:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Tue Jun 15, 2010 5:37 am    Post subject: Reply with quote

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
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 » Odd message header
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.