Quote:
Originally Posted by schintala
I remember using one of the SQLCA variable to get no of rows effected by SQL execution. Just look at this variable SQLERR(3) from this cobol structure.
|
Thats right. I've coded in the past:
Code:
perform cursor-open.
perform SQLERR(3) times
perform cursor-fetch
perform process-cursor-data
end-perform.
perform cursor-close.
Not the most robust example, but it works
Concerning the rows-affected: be aware that cascade-deletes are
not included.