這裏受權好像須要用其餘用戶給這個db2admin受權,我用administrator爲db2admin受權成功,受權代碼以下:sql
CONNECT TO AHFWORK; GRANT CONTROL ON PACKAGE NULLID.DB2L2H1A TO USER DB2ADMIN; GRANT BIND,EXECUTE ON PACKAGE NULLID.DB2L2H1A TO USER DB2ADMIN WITH GRANT OPTION; CONNECT RESET;
還有一種就是在控制中心界面進行操做code