Operating all didn't do anything, just made a connection, and then an SQLCODE=- 1598
The import ibm_db
Conn=ibm_db. Connect (" DATABASE=EDW. The HOSTNAME=input IP; PORT=PORT; PROTOCOL=communication PROTOCOL; UID=user name; The PWD=password;" , ""," ")