Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
user abend DSNT404I SQLCODE 100

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
satish_sao

New User


Joined: 07 Aug 2006
Posts: 1
Location: Noida

PostPosted: Tue Aug 08, 2006 5:16 pm    Post subject: user abend DSNT404I SQLCODE 100
Reply with quote

I have one program in production which is doing join operation on 2 tables using primary key of tab A and forgien key of Tab B based on some condition in where clause. Also i am using "optimize for 1 row " option in where clause.

When program updates tab B based on key field which is already fetch from select clause, some time program runs fine and ended with mcc 00 but some day it abend (User abend) with following error.

DSNT404I SQLCODE 100, NOT FOUND, ROW NOT FOUND FOR FETCH , UPDATE

program runs fine again after some time without any user intervention.

what i found by searching in net is this prob occurs due to heavy usage of DB at instance so if you reset the DB to it's initial state program will run fine on next run onwards.


Can any one give me more inputs in this?????????????

Thanks in advance

Satish
Back to top
View user's profile Send private message

cramakrishnan

New User


Joined: 30 Jul 2006
Posts: 3

PostPosted: Wed Aug 23, 2006 11:00 am    Post subject: Re: user abend DSNT404I SQLCODE 100
Reply with quote

Hi

My understanding of the problem is this
*) There is a select clause and after this there is an update. The update fails after the fetch.
The problem might be that the record fetched is not locked. Try using Fetch "For Update" clause in the Select sql. This will hold the record in Update lock. Also try using the Isolation as CS. Try releasing the lock by a commit after the update as you have stated that there is a heavy DB usage...

HTH
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us