I had installed Oracle 10G database in my system. The install was successful. I also provided all required access to the user using the following codes:
Next step was to link the Oracle database with the Datastage component. For that purpose, I am required to execute the following codes:GRANT select ON sys.gv_$instance TO public;
GRANT select ON sys.v_$cache TO public;
CREATE ROLE DSXE;
GRANT SELECT on sys.dba_extents to DSXE;
GRANT SELECT on sys.dba_data_files to DSXE;
GRANT SELECT on sys.dba_tab_partitions to DSXE;
GRANT SELECT on sys.dba_tab_subpartitions to DSXE;
GRANT SELECT on sys.dba_objects to DSXE;
GRANT SELECT on sys.all_part_indexes to DSXE;
GRANT SELECT on sys.all_part_tables to DSXE;
GRANT SELECT on sys.all_indexes to DSXE;
GRANT DSXE to <oracle userid>;
However, as I am in the Windows command prompt, I am confused whether I would be able to execute the UNIX script install.liborchoracle to install the Oracle Driver. Is there any alternative method for the linking?In Command prompt:
C:\Ascential\DataStage\PXEngine\install>sh
$ ORACLE_HOME="C:/oraclexe/app/oracle/product/10.2.0/server"
$ export ORACLE_HOME
$ APT_ORCHHOME="C:/Ascential/DataStage/PXEngine"
$ export APT_ORCHHOME
$ sh install.liborchoracle
Installing Oracle driver
Using C:/oraclexe/app/oracle/product/10.2.0/server as ORACLE_HOME
Installing driver for Oracle Version 10g
Oracle installation is complete.
$ exit
tnsname.ora
C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN