Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

When does SP / package become invalid?

$
0
0
v9.7 FP7.

I got db2look from serverA and run it on serverB. SQL SP didn't get created because it references an object that doesn't exist.

DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0204N "XXX.YYY" is an undefined name. LINE NUMBER=246.
SQLSTATE=42704


I verified that object XXX.YYY doesn't exist on serverA. But to my surprise, SP and its associated package are still valid. I even tried rebinding the package and it completed successfully.

When should SP/package get marked as invalid?

Viewing all articles
Browse latest Browse all 13329

Trending Articles