Hello,
DB2 installation: V. 8.1 LUW, fixpak 10.
In certain situations, I get strange error messages. Example: I want to
add a NOT NULL constraint to a column. Through db2cc, I try to do what
corresponds to
CONNECT TO SOMEDB;
CALL SYSPROC.ALTOBJ ( 'APPLY_CONTINUE _ON_ERROR', 'CREATE TABLE
TRA_TEST.FOOBAR ( K INTEGER NOT NULL , C VARCHAR (50) ) IN WHATEVER ',
-1, ? ); ;
CONNECT RESET;
However, DB2 responds with:
[IBM][CLI Driver][DB2/6000] SQL0443N Routine "ALTOBJ" (specific
name "") has returned an error SQLSTATE with diagnostic text
"SQL0551 Reason code or token: TRA|BIND|NULLID .ALTOBJ_S
". SQLSTATE=38553
I've tried following the steps from
I.e.:
db2 terminate
db2 connect to <database-name>
db2 bind <path>/db2schema.bnd blocking all grant public sqlerror continue
db2 terminate
However, that doesn't help.
I'm running out of ideas. Suggestions?
--
Regards,
Troels Arvin <troels@arvin.d k>
DB2 installation: V. 8.1 LUW, fixpak 10.
In certain situations, I get strange error messages. Example: I want to
add a NOT NULL constraint to a column. Through db2cc, I try to do what
corresponds to
CONNECT TO SOMEDB;
CALL SYSPROC.ALTOBJ ( 'APPLY_CONTINUE _ON_ERROR', 'CREATE TABLE
TRA_TEST.FOOBAR ( K INTEGER NOT NULL , C VARCHAR (50) ) IN WHATEVER ',
-1, ? ); ;
CONNECT RESET;
However, DB2 responds with:
[IBM][CLI Driver][DB2/6000] SQL0443N Routine "ALTOBJ" (specific
name "") has returned an error SQLSTATE with diagnostic text
"SQL0551 Reason code or token: TRA|BIND|NULLID .ALTOBJ_S
". SQLSTATE=38553
I've tried following the steps from
I.e.:
db2 terminate
db2 connect to <database-name>
db2 bind <path>/db2schema.bnd blocking all grant public sqlerror continue
db2 terminate
However, that doesn't help.
I'm running out of ideas. Suggestions?
--
Regards,
Troels Arvin <troels@arvin.d k>
Comment