on 02-18-2015 8:22 PM
Hi Experts ,
we have a requirement on polling DB2 Database View using JDBC sender .Its working fine when polling the View with data .
However when the view is empty , the channel is polling but there is no Messageid generated in the communication channel and everything is at a stall.
Checking if there is any connection parameter for DB2 or is there some way to query the DB.
Please can you give me some inputs ?
-Sree
you can try setting the advanced mode parameter in Sender channel as emptyResult - true
1698741 - PI Message created although empty resultset is returned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhusree,
If your sender channel stops to poll, the available workarounds are the mentioned by Mutti in the communication channel monitoring or to copy the sender channel and link this with the sender agreement, deactivating the old one.
If you channel is dealing with big files, may be you can have a memory issue, also you can trigger an alert if you channel stops and in this way you don't need to be all time checking the channel, check this note 1808222 - Trigger alerts if channel stops polling
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JDBC communication channel running in cluster nodes then you try stopping the channel and again restart, And also check the DB sever side user status.
Mutti.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Mutti,
I am sorry i didnt give the right picture.
My CC polling status is green.
I want to create an empty file on the target end , if my view is empty .
i.e. my JDBC sender channel should create an empty payload with header line and give it to the pipeline. This is not happening , Its polling the DB2 and that it no Message ID is created.
Thanks !
Hi Madhu,
Did you check it directly in the DB? if it is not able to give you result in DB obviously the message id would not generate in SAP PI.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.