Db2 error : SQL0901N, SQLSTATE=58004

Posted by Harv on Stack Overflow See other posts from Stack Overflow or by Harv
Published on 2010-01-19T09:55:29Z Indexed on 2010/03/31 15:03 UTC
Read the original article Hit count: 1227

Filed under:
|

Hi,

Can i use Atomic in the parrent procedure as well as in the procedure which the mail procedure calls.

My procedure compiles perfectly, but sometimes when I execute it. I receive following error:

DB2 Database Error: ERROR [58004] [IBM][DB2/NT64] SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "Sdir len bad: 1542!=1520+14".) SQLSTATE=58004

However, surprisingly when i commented the "ATOMIC" keyword in the main procedure and ran again it ran perfectly. But when I ran it again after uncommenting it still did not give any errors and ran perfectly.

So the error that I recieve is not something that I recive everytime.Could some one please let me know what could be the issue and what needs to be done to resolve this. As on goolgeing I did not find any leads on this.

Thanks, Harveer

© Stack Overflow or respective owner

Related posts about db2

Related posts about error