-904, Error: Unsuccessful execution caused by an Unavailable resource

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
Nitin Kumar
Registered Member
Posts: 14
Joined: Tue Sep 02, 2014 8:13 pm
India

-904, Error: Unsuccessful execution caused by an Unavailable resource

Post by Nitin Kumar »

Hii,

Can anyone Tell me, I got -904, Error: Unsuccessful execution caused by an Unavailable resource 00000302, And Resource Name RCAD0100.RCAS9810.X '00002AB4'
User avatar
zum13
Registered Member
Posts: 89
Joined: Thu May 04, 2023 12:58 am

Re: -904, Error: Unsuccessful execution caused by an Unavailable resource

Post by zum13 »

Hello.

The -904 SQLCODE is documented here: https://www.ibm.com/docs/en/db2-for-zos ... ic=esc-904

The "00000302" bit is a resource type, in this case for a page in the named table space. A list of the resource types can be found here: https://www.ibm.com/docs/en/db2-for-zos ... urce-types

You should also have a reason code which will be an 8-digit hex number that may give more insight into what has gone wrong. These are documented here: https://www.ibm.com/docs/en/db2-for-zos ... db2-reason

However, the best course of action here is to contact your DBA or DB2 Sysprog and get them to take a look at it. The -904 SQLCODE tends to have causes that require their intervention.
Nitin Kumar
Registered Member
Posts: 14
Joined: Tue Sep 02, 2014 8:13 pm
India

Re: -904, Error: Unsuccessful execution caused by an Unavailable resource

Post by Nitin Kumar »

From offshore we don't have that easy access to the DBA team, it's all on us to learn by our self! :(
User avatar
zum13
Registered Member
Posts: 89
Joined: Thu May 04, 2023 12:58 am

Re: -904, Error: Unsuccessful execution caused by an Unavailable resource

Post by zum13 »

In which case, you'll need the reason code to determine why the resource has been made unavailable. That will be the 8 digit hex code that starts 00C, 00D, 00E, or 00F. Once you know the why you can determine how to fix it. If it is something like the table needs recovery or repair, then it's possible that you may not have the access to do that at which point it is definitely something the DBAs need to deal with.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”