I cannot connect to AS400 version of DB2 via SQLAlchemy (both ibm_db, ibm_db_sa libraries stall when executing queries). The link below gives a solution via ODBC and pyodbc but I only have access to an ubuntu server and not windows for this task. Any suggestions on how to make python work with AS400 DB2?
Connecting to IBM AS400 server for database operations hangs