Db2 error SQL0901N SQLSTATE=58004 : Reason "Sdir len bad: 1542!=1520+14"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HARVEER
    New Member
    • Jan 2010
    • 1

    Db2 error SQL0901N SQLSTATE=58004 : Reason "Sdir len bad: 1542!=1520+14"

    Hi,

    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 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
Working...