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 » WebSphere Message Broker (ACE) Support » MQRC=2097 how to generate MQMD without using MQOutputNode

Post new topic  Reply to topic
 MQRC=2097 how to generate MQMD without using MQOutputNode « View previous topic :: View next topic » 
Author Message
JULLRICH
PostPosted: Sat Sep 10, 2005 7:54 am    Post subject: MQRC=2097 how to generate MQMD without using MQOutputNode Reply with quote

Apprentice

Joined: 11 Aug 2005
Posts: 42
Location: München

Hello at all,

I want to know how to generate MQMD without using an MQOutputNode.

At link http://www-306.ibm.com/software/integration/mqfamily/library/manualsb/amqqag00/amqqag001o.htm I found the following:
Context authority
Context is information that applies to a particular message and is contained in the message descriptor, MQMD, which is part of the message. The context information comes in two sections:


Identity section
This part specifies who the message came from. It consists of the following fields:
UserIdentifier
AccountingToken
ApplIdentityData

Origin section
This section specifies where the message came from, and when it was put onto the queue. It consists of the following fields:
PutApplType
PutApplName
PutDate
PutTime
ApplOriginData

Now I need the information how to fill this fields with correct data for example with SET Statements in a ComputeNode.
I do not want to hardcode this informations.

Regards
Jens
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Sun Sep 11, 2005 9:41 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Have you tried :
Code:

SET OutputRoot.MQMD.PutApplName = 'test'

???

If you just want to copy message headers from InputRoot to OutputRoot, then call copyMessageHeaders() procedure in your main() procedure.
If you haven't done any coding in WBIMB so far, then go through Help for WBIMB for 'Developing applications'

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/ac18710_.htm
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JULLRICH
PostPosted: Sun Sep 11, 2005 10:17 pm    Post subject: there is no InputRoot.MQMD! Reply with quote

Apprentice

Joined: 11 Aug 2005
Posts: 42
Location: München

Sorry, this NEW message don't has an InputRoot.MQMD! Its an newly created message by an PlugIn Node it doesn't contain ANY context data!!!
I do not want to hardcode the stuff - it has to be variable!
Back to top
View user's profile Send private message
EddieA
PostPosted: Sun Sep 11, 2005 10:36 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
it has to be variable

Quote:
I do not want to hardcode this informations

You have to get the data from somewhere. What are you trying to achieve.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
JULLRICH
PostPosted: Sun Sep 11, 2005 10:49 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Aug 2005
Posts: 42
Location: München

Hello,

there is a message without any contextdata - generated from an PlugInNode. I have to fill the context data from somewhere ... but from where????

I could not use the MQOutputNode for that because of the other messages that goining through the flow.
I would not seperate the processing because the flow will become too complex.

The flow should be flexible by moving from one to another broker!!!

Regards
And thanks for your will to helping me!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Sep 12, 2005 5:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I remember seeing sample code for creating the MQMD with ESQL in discussions of using the HTTPInput nodes - which have the same problem.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fschofer
PostPosted: Tue Sep 13, 2005 1:44 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
look here
http://www.mqseries.net/phpBB2/viewtopic.php?t=22358&highlight=set+outputroot+mqmd

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQRC=2097 how to generate MQMD without using MQOutputNode
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.