I am trying to connect to a DB2 database using python. For this I am using the ibm_db_dbi package.
The problem is that when I try to make the connection, I get the following error:
ibm_db_dbi.ProgrammingError: ibm_db_dbi::ProgrammingError: [IBM][CLI Driver] SQL30073N "0x2110" Parameter value "0x0000" is not supported. SQLSTATE=58017\r SQLCODE=-30073
The connection:
import ibm_db_dbi as db
conn = db.connect("DATABASE=myDB;HOSTNAME=myHost;PORT=myPort;PROTOCOL=TCPIP;UID=user;PWD=pass;", "", "")
Does anyone know what the problem is?
P.S.: I have also tried to specify the driver, but the error continues.
Windows 10 / Python 3.7.8 / DB2 z/OS