DB2 - Problem description
Problem IC65878 | Status: Closed |
SQLSETSTMTATTR/SQLGETSTMTATTR SHOWS MAGIC # IN CLI TRACE FOR LOAD RELATED ATTRIBUTES. | |
product: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problem description: | |
SQLSetStmtAttr shows magic # in cli trace for load attributes like SQL_ATTR_USE_LOAD_API. Below extract of the cli trace shows "Unknown Value 2482" . It should be coming as "SQL_ATTR_USE_LOAD_API" SQLSetStmtAttr( hStmt=1:1, fOption=Unknown value 2482, pvParam=&0000000000000002, uiStrLen=-6 ) ---> Time elapsed - +3.065100E-002 seconds Please fix all other load attributes also for SQLSetStmtAttr/SQLGetStmtAttr API's sqlcli1.h:#define SQL_ATTR_USE_LOAD_API 2482 sqlcli1.h:#define SQL_ATTR_LOAD_RECOVERABLE 2483 sqlcli1.h:#define SQL_ATTR_LOAD_COPY_LOCATION 2484 sqlcli1.h:#define SQL_ATTR_LOAD_MESSAGE_FILE 2485 sqlcli1.h:#define SQL_ATTR_LOAD_SAVECOUNT 2486 sqlcli1.h:#define SQL_ATTR_LOAD_CPU_PARALLELISM 2487 sqlcli1.h:#define SQL_ATTR_LOAD_DISK_PARALLELISM 2488 sqlcli1.h:#define SQL_ATTR_LOAD_INDEXING_MODE 2489 sqlcli1.h:#define SQL_ATTR_LOAD_STATS_MODE 2490 sqlcli1.h:#define SQL_ATTR_LOAD_TEMP_FILES_PATH 2491 sqlcli1.h:#define SQL_ATTR_LOAD_DATA_BUFFER_SIZE 2492 sqlcli1.h:#define SQL_ATTR_LOAD_MODIFIED_BY 2493 sqlcli1.h:#define SQL_ATTR_LOAD_INFO 2501 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_READ_PTR 2524 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_SKIPPED_PTR 2525 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_COMMITTED_PTR 2526 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_LOADED_PTR 2527 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_REJECTED_PTR 2528 sqlcli1.h:#define SQL_ATTR_LOAD_ROWS_DELETED_PTR 2529 sqlcli1.h:#define SQL_ATTR_LOAD_INFO_VER 2530 sqlcli1.h:#define SQL_ATTR_LOAD_ACCESS_LEVEL 2536 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * 97fp1 users * **************************************************************** * PROBLEM DESCRIPTION: * * Customer will see magic number instead of the attribute name * * for load attributes * **************************************************************** * RECOMMENDATION: * * 97fp2 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
97FP2. Customer will see attribute name instead of the magic number for load attributes after the fix. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.01.2010 14.05.2010 11.12.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP2 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |