Hi,
my system: db2 ese v8.2 fp11 on Linux390.
I would like to change column definition from null to not null by executing ALTOBJ system procedure.
Sample:
Create table:
Code:
CREATE TABLE DB2ADMIN.TAB1 (COL1 INT)
Calling Validate option:
Code:
CALL SYSPROC.ALTOBJ ('VALIDATE', 'CREATE TABLE DB2ADMIN.TAB1 (COL1 INT NOT NULL)', -1, ? )
The above command returns error:
Code:
SQL0443N Routine "ALTOBJ" (specific name "") has returned an error SQLSTATE
with diagnostic text "SQL0443 Reason code or token:
SYSPROC.DB2LK_TBLNDEP|DB2LK_TBL". SQLSTATE=38553
What does this error means?
I have tried the same commands on my notebook WindowsXP sp2 db2v8.2 fp9 and works fine.
Is there something I have missed out or is there a bug in fixpack 11?
Thanks,
Grofaty