|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| 2339 Error ??? Urgent | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | abiram8 | 
			  
				|  Posted: Sat Oct 19, 2002 7:07 am    Post subject: 2339 Error ??? Urgent |   |  |  
		  |  Master
 
 
 Joined: 27 Mar 2002Posts: 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 |  |  
		  |  |  
		  | amar | 
			  
				|  Posted: Sun Oct 20, 2002 5:33 am    Post subject: |   |  |  
		  | Apprentice
 
 
 Joined: 27 Jun 2002Posts: 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 |  |  
		  |  |  
		  | abiram8 | 
			  
				|  Posted: Sun Oct 20, 2002 8:25 pm    Post subject: |   |  |  
		  |  Master
 
 
 Joined: 27 Mar 2002Posts: 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 |  |  
		  |  |  
		  | kirani | 
			  
				|  Posted: Sun Oct 20, 2002 8:55 pm    Post subject: |   |  |  
		  | Jedi Knight
 
 
 Joined: 05 Sep 2001Posts: 3779
 Location: Torrance, CA, USA
 
 |  |  
		  | 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
 
 |  |  |  |