Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010

    Smile Unanswered: db2 SQLCODE -668 when inserting

    while I inserting data into table(db2), getting error as below

    Message: Operation not allowed for reason code "7" on table "ELSAG.ICGR1106".. SQLCODE=-668, SQLSTATE=57016, DRIVER=3.50.152,

    when I google, i found that the ALTER TABLE statement attempted to add a column to a table that has an edit procedure that is defined with row attribute sensitivity. No columns can be added to this table.

    there is any way to rectify it

    thanks in advance

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    according the doc (nice of IBM to publish the doc online, but sorry : nobody is reading this....)
    you have done something at table level - drop column or some other the requires and OFFLINE reorg
    according the doc :Reorganize the table using the REORG TABLE command (note that INPLACE REORG TABLE is not allowed for a table that is in the reorg pending state).
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts