468,321 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

DB2 Not ATOMIC Compund SQLs

Hi I am using a query as below:
BEGIN NOT ATOMIC
FOR temp_row AS SELECT pr.REC_TRK_ID,cm.FINC_MTCH_KEY_ID,pr.MED_MTCH_KEY_ ID FROM CARDTC.PGM_REQ pr LEFT OUTER JOIN CARDTC.CDB_MTCH cm ON pr.MED_MTCH_KEY_ID=cm.MED_MTCH_KEY_ID WHERE pr.SRC_SYS_ID='CES' AND pr.STS_CD IN('N1','H1')
DO
IF FINC_MTCH_KEY_ID IS NOT NULL THEN
#If TASK
ELSE
#Else TSK
END FOR;
END,

Is there any NON ATOMIC version of this query, since for Me
BEGIN NOT ATOMIC is not working, I don't want it to be a transaction.
Aug 30 '07 #1
0 1080

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Glenn Kasten | last post: by
42 posts views Thread by Shayan | last post: by
5 posts views Thread by Pegboy | last post: by
6 posts views Thread by blackstreetcat | last post: by
2 posts views Thread by Freedom fighter | last post: by
11 posts views Thread by Jon Harrop | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.