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 » skipping event processing of databaseinput node

Post new topic  Reply to topic
 skipping event processing of databaseinput node « View previous topic :: View next topic » 
Author Message
csongebalazs
PostPosted: Thu Jan 24, 2013 6:54 am    Post subject: skipping event processing of databaseinput node Reply with quote

Voyager

Joined: 30 Jan 2004
Posts: 78

Hi,

I playing with DB input node and has a question.

In that scenario, when event table contains TABLE, ID_COL, ID_VALUE colums, and a STATUS, and in ReadEvents events selected up if status = {something} and those 3 columns are not null.

In BuildMessage SET Root.DataObject.bla bla made by an EVAL statement.

I handled that case when TABLE and ID_COL values are incorrect and resulting ORA errors, but tried to handle those cases, when a valid statement results zero row for the event. In this case i tried to avoid message propagation with a RETURN FALSE; statement. During the deploy i got an error message. It indicates me, i cannot use RETURN FASLE statement in this EQSL. Why?

Of course i can handle empty results after a message propagation (in the next compute node), but want to know, is it possible to do it in this node?
/So plan was: Skip propagation in BuildMessage + store the info about skip happened in an environment variable, then in EndEvent update STATUS based on this environment info/
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jan 24, 2013 6:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Post the error message and the version of the product.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jan 24, 2013 7:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

presumably "RETURN FASLE" was a typo here, and not in your code?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 24, 2013 7:07 am    Post subject: Re: skipping event processing of databaseinput node Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

csongebalazs wrote:
During the deploy i got an error message. It indicates me, i cannot use RETURN FASLE statement in this EQSL. Why?


I hope this was a typo. Either in the posting or in your code.
_________________
MQ & Broker admin
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 » skipping event processing of databaseinput node
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.