on 01-21-2014 8:36 AM
i have wrote query which is picking data.
-------------------
<row>
<WSEQNR>9975084</WSEQNR>
<WDATE>2013-11-21 00:00:00.0</WDATE>
<WTIME>1900-01-01 13:13:43.0</WTIME>
<WSTAT>1</WSTAT>
<WMESSND>732033718364 3 </WMESSND>
</row>
i have wroten one join query which is picking a lot of records
and after picking it is updating WSTAT field 2
so every time
pi is picking new record which have value 1
now issue is that
once PI is picking bulk data
for example 100 records at one time
if there is any one record fails in mapping all data is stucked in PI
so i need to process 1 record at a time.
How to achieve it.
Regards
Mohit
Hi,
There is no option to set that in PI...simplest is ensure the mapping condition in PI works fine for those cases and do a reprocessing from PI...
Else you have to fine tune your select or Join query to pick only one record for processing but again this can be performance bottleneck if there are huge records to be processed...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohit,
It depends about your DB system, because you can construct a SQL to restrict the number of values retrieved. The command can be different or simply dont exist depending of your DB vendor.
Check this Dheeraj Kumar's blog
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.