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 IndexWebSphere Message Broker (ACE) Supporthow to publish a message from the flow

Post new topicReply to topic Goto page Previous  1, 2
how to publish a message from the flow View previous topic :: View next topic
Author Message
nmaddisetti
PostPosted: Fri May 06, 2005 10:58 am Post subject: Reply with quote

Centurion

Joined: 06 Oct 2004
Posts: 145

Hi
iam getting reason code 3080
in completion tag we are getting error as value

thanks
nmaddisetti
Back to top
View user's profile Send private message
nmaddisetti
PostPosted: Fri May 06, 2005 11:10 am Post subject: Reply with quote

Centurion

Joined: 06 Oct 2004
Posts: 145

Hi
this is the message in reply to queue

<pscr><Completion>error</Completion><Response><Reason>3080</Reason></Response></pscr> ” <psc><Command>RegSub</Command><Topic>messages/basic</Topic><RegOpt>FullResp</RegOpt><RegOpt>CorrelAsId</RegOpt><QName>PUBSUB.PROXY.OUT</QName></psc> <mcd><Msd>none</Msd></mcd>

can u tell me what iam missing
thanks
nmaddisetti
Back to top
View user's profile Send private message
malammik
PostPosted: Fri May 06, 2005 11:10 am Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

I believe 3080(double check) is a security error. Make sure that the user id which appears in the message descriptor of the subscribe message has the authority to subscribe.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
nmaddisetti
PostPosted: Fri May 06, 2005 12:00 pm Post subject: Reply with quote

Centurion

Joined: 06 Oct 2004
Posts: 145

Hi
the user trying to subscribe have permission
that user member of all the required groups
thanks
nmaddisetti
Back to top
View user's profile Send private message
malammik
PostPosted: Fri May 06, 2005 12:08 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Download IH03 support pack trying using to generate a valid sub request and the compare output from ih03 with your ouput to see what might be going wrong. But I am 90% sure you are having a permissions issue. Check again. Are you running on windows? Look in your event log or /var/log/messages on unix.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
bower5932
PostPosted: Fri May 06, 2005 12:48 pm Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

It looks like your correlation id isn't quite right:
Code:
C:\>mqrc 3080

      3080  0x00000c08  MQRCCF_CORREL_ID_ERROR
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
malammik
PostPosted: Fri May 06, 2005 3:11 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Good point he is probably not populating the correlation id.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
nmaddisetti
PostPosted: Mon May 09, 2005 5:27 am Post subject: Reply with quote

Centurion

Joined: 06 Oct 2004
Posts: 145

Hi
iam using the following code in compute node
iam populating Correlation Id
can u tell me what am i missing


SET OutputRoot.Properties.Topic='messages/basic';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.psc.Command = 'RegSub';
SET OutputRoot.MQRFH2.psc.Topic = 'messages/basic';
SET OutputRoot.MQRFH2.psc.RegOpt[1] = 'FullResp';
SET OutputRoot.MQRFH2.psc.RegOpt[2] = 'CorrelAsId';
SET OutputRoot.MQRFH2.psc.QName = 'PUBSUB.PROXY.OUT';
SET OutputRoot.MQMD.MsgType = 1;
SET OutputRoot.MQMD.ReplyToQ = 'BROKER.REPLY';
SET OutputRoot.MQMD.CorrelId = InputRoot.MQMD.CorrelId;
SET OutputRoot."BLOB"."BLOB" = InputRoot."BLOB"."BLOB";

thanks
nmaddisetti
Back to top
View user's profile Send private message
solomita
PostPosted: Tue May 31, 2005 1:39 pm Post subject: How can I tell if my publish is working? Reply with quote

Voyager

Joined: 06 May 2003
Posts: 94

I am trying to publish a message to a topic using the following:

SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;

-- create the pcr
SET OutputRoot.MQRFH2.psc.Command = 'Publish';
SET OutputRoot.MQRFH2.psc.Topic = 'Topic/Test1';

How can I tell if this is working? I dont see anything in the topics section of my toolkit...
_________________
IBM Certified Specialist - WebSphere MQ Integrator
IBM Certified System Administrator - WebSphere MQ V5.3
IBM Certified System Administrator - WebSphere Business Integration Message Broker V5
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue May 31, 2005 2:05 pm Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The only way to tell if it is working is to subcribe to that topic.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
solomita
PostPosted: Tue May 31, 2005 5:15 pm Post subject: Reply with quote

Voyager

Joined: 06 May 2003
Posts: 94

Would that look something like this:

<psc>
<Command>RegSub</Command>
<RegOpt>PubOnReqOnly</RegOpt>
<RegOpt>CorrelAsId</RegOpt>
<Topic>Sport/Soccer/State/LatestScore/#</Topic>
</psc>

And once you have subscribed - will you see the message in a queue? Should the topic automatically be created in the toolkit?
_________________
IBM Certified Specialist - WebSphere MQ Integrator
IBM Certified System Administrator - WebSphere MQ V5.3
IBM Certified System Administrator - WebSphere Business Integration Message Broker V5
Back to top
View user's profile Send private message Yahoo Messenger
markhiscock
PostPosted: Wed Jun 01, 2005 12:08 am Post subject: Reply with quote

Novice

Joined: 16 May 2005
Posts: 22
Location: IBM Hursley, UK

Hi solomita,

Yes, that message looks correct. You should review the online documentation which descibes the pub sub command messages here:

http://publib.boulder.ibm.com/infocenter/wbihelp/topic/com.ibm.etools.mft.doc/aq06950_.htm

Specifically, the subscribe command message can be found here:

http://publib.boulder.ibm.com/infocenter/wbihelp/topic/com.ibm.etools.mft.doc/aq06910_.htm

Once you have subscribed you will have to publish a message on the topic you have subscribed to. This publication will then be sent to all appropriate subscriptions (including your subscription, and hence to the queue you have defined). Review the command messages in the first link (above) for how to perform a publication action.

Hope this helps,

Mark
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexWebSphere Message Broker (ACE) Supporthow to publish a message from the flow
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.