![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have problems with configuring oracle database gateway for drda One of the steps in this process is (according to the manuel) is (DB2 side): - * * * GRANT EXECUTE ON PACKAGE oraclegtw.* TO PUBLIC If I execute this statement I receive the following error: - * * * An unexpected token "*" was found following "N PACKAGE oraclegtw.". * * * * Expected tokens may include: *"<identifier>".. SQLCODE=-104, SQLSTATE=42601, DRIVER=3.61.65 Can somebody help me with this problem |
#3
| |||
| |||
|
|
On 5 nov, 23:03, "mar... (AT) nowhere (DOT) invalid" <mar.houweni... (AT) wxs (DOT) nl wrote: I have problems with configuring oracle database gateway for drda One of the steps in this process is (according to the manuel) is (DB2 side): - * * * GRANT EXECUTE ON PACKAGE oraclegtw.* TO PUBLIC If I execute this statement I receive the following error: - * * * An unexpected token "*" was found following "N PACKAGE oraclegtw.". * * * * Expected tokens may include: *"<identifier>".. SQLCODE =-104, SQLSTATE=42601, DRIVER=3.61.65 Can somebody help me with this problem The grant syntax on a whole schema is - unfortunately - not supported by DB2. |
|
I'm not too strong with packages myself, but if you bound them using a *.bnd file you could've granted it at that point. Right now, I assume you'll have to grant it on each package separately. You can work from this query to find the complete list: select PKGNAME from syscat.packages where PKGSCHEMA = 'ORACLEGTW' |
![]() |
| Thread Tools | |
| Display Modes | |
| |