Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Updating Cursor row withour using FOR UPDATE

$
0
0
Author: chandan.inst
Posted: Wed Nov 09, 2016 9:57 pm (GMT 5.5)

Rohit Umarjikar wrote:
Quote:
Its not going in Infinite loop its giving sqlcode 100 for next fetch
So you mean to say even if there is only one eligible row from the cursor , you are able to fetch it twice and on third fetch it is giving you sqlcode 100?

Yes if I update the record its giving sqlcode 100 for third fetch..

I tried to check this with skipping update process as well that time its giving sqlcode 100 for second fetch


Terry Heinze wrote:
Quote:
and unfortunately I can't share that as well

Even if you obfuscate sensitive data?

Problem is I work on remote system to access mainframes and cant access this site from that system so I tried my best to replicate my issue


Viewing all articles
Browse latest Browse all 8500

Trending Articles