By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,756 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,756 IT Pros & Developers. It's quick & easy.

DB2 Not ATOMIC Compund SQLs

P: 1
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
Share this question for a faster answer!
Share on Google+

Post your reply

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