Current location - Loan Platform Complete Network - Big data management - Error calling sysproc.admin_cmd('regg table xx.tb ') in db2 stored procedures
Error calling sysproc.admin_cmd('regg table xx.tb ') in db2 stored procedures
Help with the package try?

db2 terminate

db2 CONNECT TO dbname user USERID using PASSWORD

db2 BIND path\db2schema.bnd BLOCKING ALL GRANT PUBLIC SQLERROR CONTINUE

db2 BIND path\@db2ubind.lst BLOCKING ALL GRANT PUBLIC ACTION ADD

db2 BIND path\@db2cli.lst BLOCKING ALL GRANT PUBLIC ACTION ADD

db2 terminate

where dbname represents the name of a database to which the files should be bound, and where path is the full path name of the directory where the bind files are located, such as INSTHOME\sqllib\bnd where INSTHOME represents the home directory of the DB2 instance. db2ubind. lst and db2cliq. lst and db2cli.lst contain lists of required bind files used by DB2 database products. Packages that are already bound will return an SQL0719N error. This is expected. is expected.