If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Is EMPLOY.P10020 a procedure? If so you must grant execute on the procedure, not on the package (although in version 7 you would have granted execute on the package). Check out the GRANT statement in the SQL Reference Vol 2 for more info.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Procedures also have packages, but you must grant execute to the procedure. Is this a program with embedded SQL (C++, etc), a function, procedure, etc? Need more info about what EMPLOY.P10020 is. Also include full info about OS, DB2 version, etc.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390