Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SQL Error: SQLCODE=-964, SQLSTATE=57011 and ETL job fails

 Running workitem job fails with the following errors in the logs, after enabling debug logging for ETL: 

***

CRJAZ0265E The database resource or virtual storage is not available.
SQL: INSERT INTO "RICALM"."REQUEST_BASELINE" ("REQUEST_HISTORY_ID", "REC_DATETIME") VALUES (?, ?)
SQL Exception #1
SQL Message: DB2 SQL Error: SQLCODE=-964, SQLSTATE=57011, SQLERRMC=null, DRIVER=4.14.121
SQL State: 57011
Error Code: -964

***

How to resolve this? 

1

2 votes



One answer

Permanent link
--> Based on the DB2 error, it most likely was that the DB2 transaction log was filled up:

https://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=%2Fcom.ibm.db2.luw.messages.sql.doc%2Fdoc%2Fmsql00964c.html&resultof%3D%2522%252d%2539%2536%2534%2522%2520%2522%2539%2536%2534%2522%2520

After increasing the log file size, the ETL jobs started running fine without errors.

http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.spatial.doc%2Fcfgtranslog.html

In my case, increasing the logprimary and logsecond resolved the DB2 errors

One should check the LOGFILESIZ, LOGPRIMARY and LOGSECOND values, and increase them.
Then run the ETL. 

2 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 53
× 37

Question asked: Apr 28 '14, 9:21 a.m.

Question was seen: 27,054 times

Last updated: Apr 28 '14, 9:23 a.m.

Confirmation Cancel Confirm