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 » PROPAGATE problem

Post new topic  Reply to topic
 PROPAGATE problem « View previous topic :: View next topic » 
Author Message
paldebojyoti
PostPosted: Tue Oct 26, 2004 5:44 am    Post subject: PROPAGATE problem Reply with quote

Novice

Joined: 04 Aug 2004
Posts: 10

Hi,
I am facing a problem in WMQI 2.1. I have to generate a no. of output messages from one input message. So in esql I am using command PROPAGATE, but my input message goes to failure queue giving the error:

ParserException BIP5354E: MTI internal error: diagnostic information 'parseRightSibling called before RefreshElementFromBitstream'.
An internal software error has occurred in the Message Translation Interface Parser. The diagnostic information associated with this message is: 'parseRightSibling called before RefreshElementFromBitstream'.

But when I am not using PROPAGATE only one message is generated instead of many and goes to the output queue.

Can anyone help me to get rid of this problem.

Regards,
Debojyoti Pal
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 26, 2004 5:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you including 'return false' at the end of your ESQL?

Can we see your ESQL?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
paldebojyoti
PostPosted: Tue Oct 26, 2004 5:49 am    Post subject: PROPAGATE problem Reply with quote

Novice

Joined: 04 Aug 2004
Posts: 10

Hi Jeff,
Thanks for your prompt reply.
Yes I have included return false at the last of ESQL.
Actually my esql code is so big, it is difficult to post.
Regards,
Debojyoti
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Tue Oct 26, 2004 8:15 am    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

couple of things to be taken care when using PROPAGATE Statement, probably u wud hav done...but a cheklist.. cud solve the pblm

* OutputRoot = InputRoot
* OutputRoot = NULL;
* Return FALSE





-RR
Back to top
View user's profile Send private message
djeripo
PostPosted: Tue Oct 26, 2004 8:18 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Tell me these,
Are you using while loop and CARDINALITY to segregate small chunks of messages from one big message you get in the InputQueue?

If at all you are using PROPAGATE,
When you propagate the message, the OutputRoot tree is returned completely empty.You have to recopy the message headers(MQMD) ,Properties each time after propagate.
This can be acheived with the following lines of code set in the begining of the while loop.

Something like this,
DECLARE J INT;
SET J = 1;
WHILE J <= CARDINALITY("InputBody"."RECORD_ELEMENT"[])
Do

SET OutputRoot.Properties = NULL;
SET OutputRoot.Properties = InputRoot.Properties;
SET OutputRoot.MQMD = NULL;
SET OutputRoot.MQMD = InputRoot.MQMD;
/* If your output is MRM */
SET OutputRoot.Properties.MessageSet = 'whatever';
SET OutputRoot.Properties.MessageType = 'whatever';
SET OutputRoot.Propeties.MessageFormat = 'CWF'; (For instance)


------ Your Code ---------

PROPAGATE;
SET J = J+1;
END WHILE;
RETURN FALSE;
Back to top
View user's profile Send private message Visit poster's website
JT
PostPosted: Tue Oct 26, 2004 8:38 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

For additional insight into the BIP5354E error, take a look at these threads:

http://www.mqseries.net/phpBB2/viewtopic.php?t=17958
http://www.mqseries.net/phpBB2/viewtopic.php?t=15632
Back to top
View user's profile Send private message
paldebojyoti
PostPosted: Wed Oct 27, 2004 9:12 pm    Post subject: Reply with quote

Novice

Joined: 04 Aug 2004
Posts: 10

Hi ,

Thank you everybody, It's working.

Regards,
Debojyoti
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 » WebSphere Message Broker (ACE) Support » PROPAGATE problem
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.