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 » 2339 Error ??? Urgent

Post new topic  Reply to topic
 2339 Error ??? Urgent « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Sat Oct 19, 2002 7:07 am    Post subject: 2339 Error ??? Urgent Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,


Iam testing the Publish - Subscribe using ESQL in my Publish Node using compute node as follows My Publisher Compute Node is as follows

I have selected the option of Selecting (* Copy Message Header )

-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.

Case 2)

SET OutputRoot.MQMD=InputRoot.MQMD;
SET OutputRoot.MQRFH2.psc.Command='Publish';
SET OutputRoot.MQRFH2.psc.Topic='COPS-REPLY';
SET OutputRoot = InputRoot; <<<<<<<<<<<==== here it comes Last


I have my peace of trace node shows me as below


UserTrace BIP7086I: Node 'SERVERPUBLISH.Publication1.PSService1': The Publication Node with Subscription Point '' has received an error code 2339.


the explanation for 2339 is as given in the doccument

MQRC_RFH_PARM_MISSING

Some parameters within <psc>or <mcd>
folders are optional and can be omitted;
some are mandatory and must not be
omitted. Check that you have included
all mandatory parameters within your
<psc>and <mcd>folders.
**********************************************************************************

This is the error description but if I try my Compute node ESQL as shown below

I have selected the option of Selecting (* Copy Message Header )

-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.

Case 1)

SET OutputRoot = InputRoot; <<<<<<<<<<<==== here it comes first
SET OutputRoot.MQMD=InputRoot.MQMD;
SET OutputRoot.MQRFH2.psc.Command='Publish';
SET OutputRoot.MQRFH2.psc.Topic='COPS-REPLY';


In this I never get the Error & my Subscriber Q gets the Message published by Publisher


Iam trying case 1 since in that case I want my Messsage will come after MQRFH2 headers but in case 2 I donot want because My message arrives before MQRFH2 & my retriving program message.seek(int) will not work


I donot understand why changing the SET OutputRoot = InputRoot; results in 2339 error


All type of Ideas are welcome or If some one can please let me know how how to write the Publication node in ESQL so that I can get Message after MQRFH2 Header in the subcribing Queue


Thanks

R.Abiram


Last edited by abiram8 on Sun Oct 20, 2002 8:30 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
amar
PostPosted: Sun Oct 20, 2002 5:33 am    Post subject: Reply with quote

Apprentice

Joined: 27 Jun 2002
Posts: 45

Hi,

SET OutputRoot.MQMD=InputRoot.MQMD; ????( have u checked your Msg format).
can give me some more details ..
Msg Type and MsgFormat

regards
amar
Back to top
View user's profile Send private message
abiram8
PostPosted: Sun Oct 20, 2002 8:25 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

I have set my MQMesssage as MQMD Format g when Iam putting into the Publishing Queue through my program ( in MQJava)
this way

MQMessage sendMsg = new MQMessage();
sendMsg.format="MQMD"

Which I assign to the Ouput Header as

Set OutputRoot.MQMD=InputRoot.MQMD


In this case when Iam putting the trace node before publishing it even shows me format
as MQMD I think this will give you good Clarity


But my Aim is to get the Message (Publishing Message) After the Header Thats why Iam writing as InputRoot =Output Root but it donot work as shown above in case 2 It work in Case 1 but in that case I get My message before MQRFH2 before Header which I donot want

My msgType is String

Can you suggest any tech by which I can achive this

Thanks
R.Abiram
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sun Oct 20, 2002 8:55 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Abiram,

Following thread might help you
http://www.mqseries.net/phpBB2/viewtopic.php?t=4258&highlight=
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » 2339 Error ??? Urgent
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.