JDE_MP
Active Member
Hi All,
I am trying to do a select, fetch next on a table. And while file io status is success, I am doing a fetchSingle on another table. If the File IO status of this fetchsingle is not success, then I have to do some calculations. But the file io status is always success even if the fetchsingle doesn't retrieve any data. I figured out that it could be due to the while loop. So how do we handle the fetchsingle inside the while loop? Is there a way the file io status be in error if the fetchsingle fails?
Thanks in advance.
I am trying to do a select, fetch next on a table. And while file io status is success, I am doing a fetchSingle on another table. If the File IO status of this fetchsingle is not success, then I have to do some calculations. But the file io status is always success even if the fetchsingle doesn't retrieve any data. I figured out that it could be due to the while loop. So how do we handle the fetchsingle inside the while loop? Is there a way the file io status be in error if the fetchsingle fails?
Thanks in advance.