Q
Problem solve Get help with specific problems with your technologies, process and projects.

Working with ODBC and dates

One Search400.com member writes, "I use Business Objects and Viewpoint to access DB2/400 via ODBC. Since the new year some PTF's were applied (I don't know which ones) and now any SQL that converts strings to dates fails. The iSeries is managed elsewhere and they claim there is no problem because it works using DB2 connect and Operations Navigator. I had always thought these products used APPC not ODBC. Is this correct?" PC/Windows connectivity expert Shahar Mor responds.

I use Business Objects and Viewpoint to access DB2/400 via ODBC. Since the new year some PTF's were applied (I don't know which ones) and now any SQL that converts strings to dates fails.

The iSeries is managed elsewhere and they claim there is no problem because it works using DB2 connect and Operations Navigator. I had always thought these products used APPC not ODBC. Is this correct?

In order to better understand the problem, I need the exact error. However, note the following:

- DB2 connect indeed uses a different approach then ODBC

- Navigator works with JDBC (and not ODBC)

- Sometimes it is recommended to upgrade the ODBC

driver when changes occur on the iSeries. (I assume you use ODBC driver from iSeries access).

- Try to "play" with dates format (in the ODBC configuration use tab server -> advanced)

This was last published in January 2006

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close