A fix is available
APAR status
Closed as program error.
Error description
When a Connection.readGeneric() is issued on an empty VSAMDB, a bit is set (resultToken) to indicate that it is an empty DB in the ResultSet. However, when a next() is issued against the ResultSet to iterate to the next document in the DB, the empty DB condition is not checked, which causes a generic EzNoSQLException with a RC of 65535 and the following message: znsq_last_result Report 2025.084 08:25:55 API Name: znsq_position RC: 00000008 RS: 8210008A Diagnostic Data: RPLFDBWD: 09080010
Local fix
Avoid calling next() on an empty DB
Problem summary
**************************************************************** * USERS AFFECTED: All VSAM RLS users using EzNoSQL Java APIs * * an ordered index database. * **************************************************************** * PROBLEM DESCRIPTION: Issuing a ResultSet.next() against an * * empty database positioning will * * generate an unknown return code 65535. * * The positioning is allowed but only * * to initiate document inserts. * ****************************************************************
Problem conclusion
EzNoSQL Java will detect the presence of an empty ordered database and throw an IllegalStateException.
Temporary fix
Comments
APAR Information
APAR number
OA67663
Reported component name
VSAM REC LEV SH
Reported component ID
5695DF122
Reported release
310
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-03-25
Closed date
2025-07-30
Last modified date
2025-10-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UJ97755 UJ97756 UJ97757
Modules/Macros
IGWVRJAR IGWVRPSJ
Fix information
Fixed component name
VSAM REC LEV SH
Fixed component ID
5695DF122
Applicable component levels
R250 PSY UJ97755
UP25/09/04 P F509
R310 PSY UJ97756
UP25/09/04 P F509
R320 PSY UJ97757
UP25/09/04 P F509
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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"310"}]
Document Information
Modified date:
21 October 2025