A fix is available
APAR status
Closed as program error.
Error description
Executing FOPD2EXE against DB2 V10 results in following error: A DB2 SQL Error has Occurred on 2014/05/29 15:49 DSNT408I SQLCODE = -516, ERROR: THE DESCRIBE STATEMENT DOES NOT SPECIFY A PREPARED STATEMENT DSNT418I SQLSTATE = 26501 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXERT2 SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = -335 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'FFFFFEB1' X'00000000' X'00000000' X'FFFFFFFF' X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION Enter END Command to Leave InfoSphere Optim Enter DOWN Command to View and Print Internal Diagnostic Information --------------- Optim's System Error Panel 7.2.0 DB2: 1015(NFM) ------------- Command ===> An Internal System Error has Occurred on 2014/05/29 15:57 DB2 SQL Error DB2Rel=1015(NFM), Rel=7.2.0 Code=-516, AuxInfo= 01 FOPQVDAA 20140210 UI14999 (000435) DSCreateDummyView 02 FOPZSUBS 20130923 UK97811 (000920) ExecuteSQL 03 FOPZSUBS 20130923 UK97811 (000567) FOPZSUB_dynamn 04 FOPMMAIN 20140220 UI15338 (000740) Main
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Optim/z users invoking the FOPD2EXE ISPF edit macro to * * execute SQL statements embedded within an application source * * program. * **************************************************************** * PROBLEM DESCRIPTION: * * Optim/z users invoking the FOPD2EXE ISPF edit macro to * * execute SQL statements embedded within an application source * * program targeting a DB2 subsystem running at release 8.1.5 * * or higher may experience a -516 SQL error indicating the * * statement has not been processed by the DB2 'Prepare' * * utility. * **************************************************************** * RECOMMENDATION: * * Apply the provided fix. * * A rebind of the Optim/z packages is required following * * application of this fix. * **************************************************************** Due to a programming error Optim/z was not performing the required DB2 'Describe' request from the same DBRM the 'Prepare' request was made. This resulted in a -516 SQL error.
Problem conclusion
The code has been modified to correct the error and the 'Describe' is performed from the same DBRM as the 'Prepare'.
Temporary fix
Comments
APAR Information
APAR number
PI20294
Reported component name
OPTIM MOVE FOR
Reported component ID
5655V0700
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-06-17
Closed date
2014-06-27
Last modified date
2014-07-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
FOPD2VA5 FOPD2V91 FOPD2V85 FOPMCMAI
Fix information
Fixed component name
OPTIM MOVE FOR
Fixed component ID
5655V0700
Applicable component levels
R720 PSY UI19218
UP14/07/01 P F406
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 July 2014