[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] SQR Commit problem with DB2
- Subject: RE: [sqr-users] SQR Commit problem with DB2
- From: Scott Eubank <SEUBANK@advance-auto.com>
- Date: Wed, 29 Sep 2004 11:14:20 -0400
- Delivery-date: Wed, 29 Sep 2004 10:17:02 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
YUP. SQR loses the cursor. I had the EXACT same problem. FUN FUN!
-----Original Message-----
From: Ben L Stevens [mailto:ps_benj@yahoo.com]
Sent: Wednesday, September 29, 2004 11:08 AM
To: 'This list is for discussion about the SQR database
reportinglanguagefrom Hyperion Solutions.'
Subject: [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
===================================================================
NOTICE - CONFIDENTIAL AND PRIVILEGED - This e-mail may contain
privileged and confidential information and is intended only for the
addressee named above. If you received this message in error,
please immediately notify the sender by return e-mail and delete the
original message; any distribution, copying or use of this e-mail
by you is strictly prohibited and may be unlawful.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users