Hi Saba,
I was trying to run my python application on iseries server to just for license requirement testing . My primary intention is use iseries driver on Linux and connect to iSeries database and now I able to connect iseries database from linux using iseries driver.
Below I am writing , what is the use-case,problem I faced, its reason and how you can resolve this.
use-case: I want to connect to IBM i series database using ibm_db_sa +pyodbc dialect.I dont want to use ODBC driver,iseries drivers instead of ibm cli drivers. My expectation was when I am going to access data from table which is not exists on database, driver should return table not exists kind of error(error message based on database driver).
Problem: Whenever I am trying to access data from not existence table ,my application execution get aborted with error Segmentation fault (core dumped).
Reason: The reason was a old version of ibm iseries drivers. I was using iseries drivers 6.1 which are outdated.
Solution: Install latest ibm iseries drivers. To install latest ibm iseries drivers you have to follow the below steps. (There may be other easy way available to download the iseries driver,I am just sharing my experience)
2)On newly opened page you need to sign in with your registered IBM id (Refer screen2.png from the attachment files)
3)After login,you will get redirected to My Entitled Systems Support page.Click on My entitled software menu from left menu bar.(Refer screen3.png from the attachment files)
4)Then click on IBM i evaluation and NLV download (Refer screen 4.png from the attachment files)
5)Then select 5770SS1 package and continue (Refer screen 5.png from the attachment files)
6)Then select IBM i Access Client solutions -Linux AP package & continue (Refer screen 6.png from the attachment files)
after that just follow the simple sets of instructions provided on web portal & you will get able to download i series drivers.
If you are linux user, extract the downloaded zip file and install .deb package under x86_64 folder.Refer installation.png from the attached files.
After installation you will get i series drivers configuration in odbcinst.ini file. Refer odbcinstfile.png from the attached files.
Hope that help.