Fixes are available
APAR status
Closed as program error.
Error 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)
Local fix
Use the "CREATE DATABASE" tab available in MENU option. OR Create the database from CLP.
Problem summary
**************************************************************** * USERS AFFECTED: * * CLI * **************************************************************** * PROBLEM DESCRIPTION: * * Creating database in DB2 z/OS from sql command prompt of * * * * Advanced Query Tool on Windows fails with the following * * error. * * * * * * SQL0518N - 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: * * db2_v95fp6 * ****************************************************************
Problem conclusion
createdb is runing fine with SQL_SUCCESS. db2_v95fp6
Temporary fix
Comments
APAR Information
APAR number
JR34147
Reported component name
DB2 UDB WSE WIN
Reported component ID
5765F3501
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-09-01
Closed date
2011-05-12
Last modified date
2011-05-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
JR34148 IC65740
Fix information
Fixed component name
DB2 UDB WSE WIN
Fixed component ID
5765F3501
Applicable component levels
R950 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 May 2011