Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Congratulations to the new Qlik Luminary and Partner Ambassador class! Meet them here
cancel
Showing results for 
Search instead for 
Did you mean: 
PriQlikDBA
Contributor II
Contributor II

Qlik zOS Endpoint connection

Getting below error when trying to connect to DB2 zOS directly within the endpoint connection using Use connection properties

  • SYS-E-HTTPFAIL, Cannot connect to DB2 zOS Server.
  • SYS,GENERAL_EXCEPTION,Cannot connect to DB2 zOS Server,RetCode: SQL_ERROR SqlState: HY000 NativeError: -1042 Message: [IBM][CLI Driver] SQL1042C An unexpected system error occurred. SQLSTATE=58004

Use Connection properties

Server (system)  lpar7

Port 5031

Location L7DB2I

Provider IBM DB2 ODBC DRIVER

Labels (1)
1 Reply
DesmondWOO
Support
Support

Hi @PriQlikDBA ,

SQL1042C (SQLSTATE 58004) points to an initialization failure in the local IBM DB2 CLI/ODBC driver before the database connection can be established. I'd like to check:

1. What is the Qlik Replicate version?

2. Is it a new connection setup or an existing one?

3. What is the ODBC driver version?

4. Can you test the connection using db2cli?

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!