A fix is available
APAR status
Closed as program error.
Error description
SQLCODE-519 CURSOR STILL OPEN AFTER JAVA.STMT.CLOSE ISSUED FOR FIRST QUERY, DSNXERT2 -330 in error message.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Distributed applications that have a cursor * * with the FETCH FIRST n ROWS clause. * **************************************************************** * PROBLEM DESCRIPTION: SQLCODE519. Application receives a * * -519 from DSNXERT2:-330. * **************************************************************** * RECOMMENDATION: * **************************************************************** In a distributed environment when a cursor is declared with the FETCH FIRST n ROWS clause, the current state of that cursor is not always returned to the distributed component of DB2. Because of this lack of information on cursor state, incorrect processing can occur.
Problem conclusion
DB2 code was changed to report the state of the cursor back to the distributed component.
Temporary fix
Comments
APAR Information
APAR number
PQ56849
Reported component name
5740 IBM DATABA
Reported component ID
5740XYR00
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2002-01-18
Closed date
2002-02-13
Last modified date
2002-03-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UQ62821
Modules/Macros
DSNXERT
Fix information
Fixed component name
5740 IBM DATABA
Fixed component ID
5740XYR00
Applicable component levels
R710 PSY UQ62821
UP02/03/01 P F202
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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
16 March 2024