DB2 - Problem description
Problem IT29857 | Status: Closed |
SQLCREATEPKG API IS FAILING WITH SQL0031C ERROR. | |
product: | |
DB2 CONNECT / DB2CONNCT / B10 - DB2 | |
Problem description: | |
SQLCreatePkg()/SQLCreatePkgW() API called wtih just bind or list file name without providing he full pathname, with SQL0031C error. SQLCreatePkgW( hDbc=0:1, szBindFileNameIn="@db2cli.lst", cbBindFileNameIn=-3, szBindOpts="ACTION=REPLACE; KEEPDYNAMIC=YES; RELEASE=COMMIT; REOPT=ONCE; ENCODING=UNICODE; BLOCKING=ALL; COLLECTION=COLID773X2; MSGFILE=\wdflbmd22311sapmntN75SYSglobalindout.log; GENERIC=APPLCOMPAT V12R1M501", cbBindOpts=-3 ) ---> Time elapsed - +0,000000E+000 seconds SQLCreatePkgW( ) | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 CLI users using SQLCreatePkg() API * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 11.1.4.5 * **************************************************************** | |
Local Fix: | |
Use the full path of the bind file (.bnd) or list file (.lst), instead of just file name. | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.07.2019 23.02.2020 23.02.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |