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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

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