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 » How to get the bunch of records from DB using ESQL?

Post new topic  Reply to topic
 How to get the bunch of records from DB using ESQL? « View previous topic :: View next topic » 
Author Message
Smarty05
PostPosted: Mon Oct 13, 2008 3:23 am    Post subject: How to get the bunch of records from DB using ESQL? Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

Hi,

We have a requirement where we need to get the XML messages from DB2 tables for Status code 'E' and generate the MQ message and put it into the reprocessing flow input queue.

My SELECT query may result in 1000+ records (XMLs) with Status code'E" , which may be performance overhead when i take the result set in Enviornment.Variable.DBResult.

So wanted to know, is there a way to get DB records in bunch of 50 using ESQL or SELECT query and do the processing?

Your suggestions are very much appreciated.

Thanks in advance..
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Oct 13, 2008 3:42 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

you have to write a DB query for this, which retrieves the records in slot wise.

you have to use PASSTHRU for execution this query
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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 » How to get the bunch of records from DB using ESQL?
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.