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 » SELECT STATEMTENT RETURNS NULL AT RANDOM INTERVALS

Post new topic  Reply to topic
 SELECT STATEMTENT RETURNS NULL AT RANDOM INTERVALS « View previous topic :: View next topic » 
Author Message
surenat
PostPosted: Mon Dec 12, 2005 8:47 pm    Post subject: SELECT STATEMTENT RETURNS NULL AT RANDOM INTERVALS Reply with quote

Apprentice

Joined: 01 Jan 2002
Posts: 32

Hi :

While processing 1000 messages, around 20 of them are failing becuase the following the query is returning null:

PASSTHRU('SELECT USER FROM DUAL;');

Is there anybody who had experianced the same problem ?, why would this function return null ?.

Any help would be appreciated .

Broker is running on:
Broker : WBIMB 5.0
OS : AIX 5.2
Broker db : DB2
Applicaiton db: ORacle 9.2

-Thanks
Suresh
_________________
IBM Certified Specialist MQSeries
IBM Certified Specialist - Websphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
elvis_gn
PostPosted: Mon Dec 12, 2005 9:00 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi surenat,

It is returning NULL since your Query is returning NULL

I think you need to tell us what ur trying to do using

Code:
PASSTHRU('SELECT USER FROM DUAL;');


I suppose the query is returning 1000 values which you are storing in a list or something.

Check what the 20 which are failing are returning, if its returning NULL then handle it.

I've not tried a COALESCE on a PASSTHRU, but it should work

Regards.
Back to top
View user's profile Send private message Send e-mail
JT
PostPosted: Tue Dec 13, 2005 8:22 am    Post subject: Reply with quote

Padawan

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

......also, post your ESQL code.

BTW, you don't need that semi-colon at the end of your enclosed SQL statement:
Code:
PASSTHRU('SELECT USER FROM DUAL');
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 » SELECT STATEMTENT RETURNS NULL AT RANDOM INTERVALS
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.