My Oracle Support Banner

IFILE Parameter In DG4DRDA Init File Is Not Recognized On Windows Error ORA-28542 (Doc ID 1351811.1)

Last updated on MAY 11, 2022

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.