Rollback action using DB2 LC LSX - pt. 4: DB2 now returning a SQL error after call to LCACTION_TRUNCATE03/16/2005 04:50 PM| SQL0904N | Unsuccessful execution caused by an unavailable resource. Reason code: "<reason-code>", type of resource: "<resource-type>", and resource name: "<resource-name>". |
Explanation: The SQL statement could not be executed because resource
"<resource-name>" of type "<resource-type>" was not available at the time for the reason indicated by "<reason-code>". Refer to the Problem Determination documentation of DB2 for MVS for an explanation of resource type codes.
Taking the DB2 InfoCenter's advice, I looked for more info about the "00D70014" Reason Code. Another Google search on Problem Determination documentation of DB2 for MVS helped me find my way to the DB2 for z/OS and OS/390 - DB2 Version 7 Library Page, where I used the "Search Version 7 BookManager Shelf" to search on "00D70014". This yielded the following:
00D70014
Explanation: An attempt to extend a data set failed, because a problem was detected in media manager services.
This reason code is issued by the following CSECT: DSNPXTN0
System Action: Abort the request.
User Response: Notify the operator, system programmer, or database administrator.
Operator Response: Notify the system programmer or database administrator.
System Programmer Response: Notify the database administrator if appropriate. Otherwise, check the packs available to the data set. They may merely be full or the data set may have reached its maximum allowable extents. For additional information, see the description of message DSNP001I.
Problem Determination: Obtain console sheet showing associated DSNP001I, DSNO007I, or DSNP011I messages and any related messages preceding them. This documentation will assist you in determining the cause of the problem. For additional information, see the description of these messages.
As it turned out, the database I was updating was out of extents, and needed to be moved to a new pack. Wow. I'll never make fun of cryptic DB2 error messages again!
Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | |||