on 11-04-2012 1:05 PM
Hi Experts,
I have an issue with one outbound interface scenario i.e. proxy to JDBC scenario with stored procedure.
The proxy is trigerred and its fetching out data and inserting records into the DB table and also stored procedure is working fine. But when I check the receiver JDBC comm channel, i find the BELOW error. Also find the attachment for the same error.
"No consistency in the number of rows". This alert is also being generated at the DB side.
Please help me out with your suggestions.
Regards
Veeru
Issue resolved. The DB table was completely full. so no new records were inserting and hence Stored procedure was running on empty rows.Thats the reason for the error.
DB guy has cleared the table and to avoid this issue in future, I have make teh changes in PI so that it is calling one SP to truncate the table and then insert the records and then process the records using another SP.
Thanks for all your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
how you are initiate stored procedure run? have you done it with any external command, try using on insert trigger to run stored procedure , it will run smoothly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Veeru,
JDBC receiver output not matching with stored procesudre expected structure,take mapping output and compare wit Stored procedure structure.
Share mapping output with data base team and ask them to validate.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Raja,
Thanks for your reply. There were 200 records extracted from ECC. I divided into 8 sets and each sets consists of 25 records. I took 25 records and successfully processed from RWB of PI. Stored procedure also worked. But if am inserting all records at once, its giving the error..
My design is as follows
I have written a synchronous proxy which is inserting records into database through one mapping.
Then the response message ( records count), am taking into a asynchronous proxy and sending to the stored procedure.
In short,
Please suggest.
Regards
Veeru
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.