-
Bug
-
Resolution: Done
-
Blocker
-
1.3.0.Final
-
None
-
False
-
False
-
Undefined
-
I use db2-connector for DB2 for z/OS.
I am getting error while creating connection:
Caused by: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703, SQLERRMC=CURRENT_SERVER, DRIVER=4.26.14
Before version 12 function level 504, the DB2 for z/OS does not support CURRENT_SERVER special register, but always support CURRENT SERVER special register (without "_").
https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/sqlref/src/tpc/db2z_currentserver.html
DB2 LUW also support CURRENT SERVER.
Can you use CURRENT SERVER special register instead of CURRENT_SERVER?
Thank you!