Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to resolve -904 DB2 error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
View previous topic :: :: View next topic  
Author Message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Wed Oct 24, 2007 10:14 am    Post subject: How to resolve -904 DB2 error
Reply with quote

Hi All,

I'm stuggling with -904 DB2 error while I'm trying to open a table.

I saw in some manuals saying that resouce unavailable.

Is there any utility or jcl to overcome this problem.


Thanks in advance,
Sridevi
Back to top
View user's profile Send private message

nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Wed Oct 24, 2007 10:34 am    Post subject:
Reply with quote

SQLCODE -904 SQLSTATE 57011
Unavailable resource. Someone is locking the data you need you may choose to terminate the program.

Solution
CAUSE: "DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION" occurs due to the TABLESIZE being insufficient.
The reason 00C90096 in the DSNT408I message means " The page, row or LOB lock on the page or subpage identified by NAME in message DSNT500I or DSNT501I caused the total number of page, row or LOB locks concurrently held to reach the installation maximum number of page, row or LOB locks (NUMLKUS) allowed for a single agent in the system. ";

type resource 0000302 is a Table Space Page

SOLUTION: Lock Size = TABLE and Lock Max = 0 should solve this problem.

(Using Lock Size = ANY or PAGE brings SQLCODE = -904)
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Wed Oct 24, 2007 11:17 am    Post subject: Reply to: How to resolve -904 DB2 error
Reply with quote

Hi Nuthan,

Where I need to give this

'Lock Size = TABLE and Lock Max = 0 '

Can u help me on this.

Thanks,
Sridevi
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Wed Oct 24, 2007 12:23 pm    Post subject: Getting problem while opening a table
Reply with quote

Hi all,

Where I need to give this

'Lock Size = TABLE and Lock Max = 0 '

Please help out on this its very urgent to me.

Thanks,
Sridevi
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 -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us