ODBC HS for AS / 400 connection

Hi all

I am trying to get data from a DB2 on AS400 iSeries database.

I created the ODBC connection using HS, but when I send data from any table, the information is displayed correctly:
-All fields are blank spaces at the end.
-I can see that 50 lines then 50 with no data and so on.

All that I tested it in SQLDeveloper via a global dblink.

Here's my configuration files



TNSNAMES. ORA
IDB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LXBI.refisal.com.co)(PORT = 1521))
(CONNECT_DATA =
(SID = IDB2_SID))
(HS=OK))

LISTENING PORT. ORA
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = LXBI.refisal.com.co)(PORT = 1521))
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = IDB2_SID)
(ORACLE_HOME = / u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/opt/ibm/iSeriesAccess/lib64:/u01/app/oracle/product/11.2.0/db_1/lib)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
(= Extproc PROGRAM)
)
)

initIDB2_SID.ora
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = iSeriesDB4allUser
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL = 4
HS_FDS_SUPPORT_STATISTICS = FALSE
HS_LANGUAGE IS HS_LANGUAGE = AMERICAN_AMERICA. WE8MSWIN1252
HS_FDS_SUPPORT_STATISTICS = FALSE

# ODBC specific environment variables
#
Set = /etc/odbc.ini ODBCINI


Maybe I'm missing another SETTING in my initIDB2_SID.ora file?

Sounds like IBM SQLExtendedFetch bug in IBM's ODBC driver.

Please add these parameters to your initDB2_SID.ora of DG4ODBC configuration file:
HS_FDS_FETCH_ROWS = 1
HS_RPC_FETCH_REBLOCKING = off

Then open a new SQL * Plus the term and select try again.

Tags: Database

Similar Questions

Maybe you are looking for

  • HP-ENVY-23-d200: error no bootable floppy detected or could not start.

    Hello, I would be very happy to help of the computer. (I'm not all that tech savvy) even if I know a little. I have a HP Envy (all in one computer) Here is a link http://support.hp.com/us-en/product/HP-ENVY-23-d200-TouchSmart-All-in-One-Desktop-PC-se

  • USB device not recognized until restart

    Hello my notebook G61 110 SA fails to load the drivers for any device, including the Iphone 4, until I restart. I tried to uninstall all devices in Device Manager, and allowing windows 7 SP1 reload them, but it does not help. Any suggestions?

  • Terminal Server service not activated

    I downloaded McAfee total protection in October.  It would work for a day or two, then I get a message that wouldn't update.  I have uninstalled & installed four times, contact McAfee three times.  The last time I have contacted, I was told that Serv

  • Volumer icon missing blackBerry Smartphones

    I recently let my brother use my phone and long story short when he gave it back I was missing the volume icon.  I can't get it back.  I can only go to vibrate through the square key.  If anyone can help, I'd appreciate it.

  • Retrieve contextual data in hanging adapter "received update of reconciliation."

    Hi all.We have IOM 11.1.2.3 and a LDAP 11.1.1.6 Connector. We want to perform a cleanup on the data of the child once reconciliation has been performed. To our knowledge, the way to do it is to create a conditional task with our logic and connect it