DB2 - Problem description
Problem IC65740 | Status: Closed |
CREATING DATABASE IN DB2 Z/OS FROM AQT SQL COMMAND PROMPT FAILS WITH SQL0518N. | |
product: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problem description: | |
Environment Details:- => DB2 Client Windows XP Professional version 2002 service pack 2. DB2 Personal Connect v 9.5. Advanced Query Tool v 8.2.4. => DB2 Server DB2 Z/os 8.1 The following error will occur when trying to create a database from AQT command prompt. DIAG [07003] [IBM][CLI Driver][DB2] SQL0518N The statement named in the EXECUTE statement is not in a prepared state or is a SELECT or VALUES statement. SQLSTATE=07003 (-518) | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * CREATING DATABASE IN DB2 Z/OS FROM AQT SQL COMMAND PROMPT * * FAILS WITH SQL0518N * * * * * * * * * * * * => DB2 Client * * * * * * * * Windows XP Professional version 2002 service pack 2. * * * * DB2 Personal Connect v 9.5. * * * * Advanced Query Tool v 8.2.4. * * * * * * * * => DB2 Server * * * * * * * * DB2 Z/os 8.1 * * * * * * * * The following error will occur when trying to create a * * database * * from AQT command prompt. * * * * * * * * DIAG [07003] [IBM][CLI Driver][DB2] * * * * SQL0518N The statement named in the EXECUTE statement is * * not in * * a prepared state or is a SELECT or VALUES statement. * * * * SQLSTATE=07003 (-518) * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FP2 or * * * * Workaround: * * * * Use the "CREATE DATABASE" tab available in MENU option. * * * * OR * * * * Create the database from CLP. * **************************************************************** | |
Local Fix: | |
Use the "CREATE DATABASE" tab available in MENU option. OR Create the database from CLP. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
Use the "CREATE DATABASE" tab available in MENU option. OR Create the database from CLP. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.01.2010 14.05.2010 14.05.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 |