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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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