IFILE Parameter In DG4DRDA Init File Is Not Recognized On Windows Error ORA-28542

(Doc ID 1351811.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database Gateway for DRDA - Version to [Release 11.2]
Information in this document applies to any platform.


While selecting from DB2 using Database Gateway for DRDA (DG4DRDA also known as DG4DB2) 11.2 running on Windows the following error is returned -

SQL> select * from aa.table@db2link;
select * from aa.table@db2link
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-28542: Error in reading HS init-file
ORA-02063: preceding 2 lines from DB2LINK


The IFILE parameter is set in the DG4DRDA init<sid>.ora file installed on Windows


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms