× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

for quite some time now, I'm using ODBC from Linux to connect to my model 150 running V4R5. To isolate a minor glitch with character fields coming back being padded with blanks to their maximum length, I wanted to see if this behavior can be adjusted by telling the ODBC driver accordingly. Apparently TrimCharFields isn't known for the older iseriesaccess 7.1.0 ODBC driver I'm currently using.

https://www.ibm.com/docs/en/i/7.3?topic=details-connection-string-keywords

So I tried a newer driver, ibm-iaccess-1.1.0. Connection works flawless but I get an error while preparing a simple SELECT:

[IBM][System i Access ODBC Driver][DB2 for i5/OS]PWS0001 - Function did not complete successfully. (SQL-HY000)

This is consistent with an earlier try: https://archive.midrange.com/midrange-l/202108/msg00487.html

Apparently, the newer driver has issues with older OS/400 releases. Sigh.

I tried to search for documentation about the valid connection strings for the iseriesaccess 7.1.0 ODBC drivers, but failed. Anybody knows a source?

Thank you!

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.