View previous topic :: View next topic
|
Author |
Message |
sridevi2005
New User
Joined: 15 Sep 2005 Posts: 42
|
|
|
|
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 |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
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 |
|
|
sridevi2005
New User
Joined: 15 Sep 2005 Posts: 42
|
|
|
|
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 |
|
|
sridevi2005
New User
Joined: 15 Sep 2005 Posts: 42
|
|
|
|
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 |
|
|
|