Posted: Mon Oct 13, 2008 3:23 am Post subject: How to get the bunch of records from DB using ESQL?
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?
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
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