[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] SQR Commit problem with DB2
<resent with a little correction>
SQR commit problem with DB2
PeopleTools 8.45.03
I have an SQR with the following logic:
Process-Main
begin-select
TABLE1.FIELD1
TABLE1.FIELD2
TABLE1.FIELD3
....
DO Calculate-some-variables
Do insert-a-row-in-another-table
let #rcounter = #rcounter + 1
if #rcounter > 999
commit (or do commit-transaction)
let #rcounter = 0
end-if
from TABLE1
end-select
I have to process over 2MM rows from the select.
The problem is, after the COMMIT, the select SQL starts over at row 1.
I've tried placing the commit in the insert-a-row-in-another-table
procedure, same problem.
I'm using DB2 8.1 FP4 on AIX 64
Suggestions welcome, thanks.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users