PM95919: FIND ERROR RESULTS IN DB010E INSTEAD OF DB0100
Closed as program error.
See Problem Summary.
APAR NUMBER: PM95919 PRODUCT: z/TPFDF FUNCTIONAL AREA: TPFDF CENTRAL DATABASE ROUTINES SHIPPED IN PUT: 10 ABSTRACT: A DB010E or CTL-D2 system error may be issued instead of a DB0100 system error if a find error occurs on the prime during DBCRE (dfcre) or DBCKP (dfckp) processing. PACKAGE CONTENTS: Source Segments: (C) tpfdf/rt/uac0.asm (C) tpfdf/rt/uaf0.asm Object Only Binaries: None. Configuration Independent Binaries: None. Support Files: None. OTHER BINARIES TO BUILD: YES (C) <sys>/lib/libUTDF.so (C) <sys>/load/UTDF.so (C) <sys>/obj/uac0.o (C) <sys>/obj/uaf0.o COMMENTS: A DB010E may occur because during the following processing z/TPFDF does not check for errors after a find macro has been issued to: - Locate the file for the prime block when creating a subfile using DBCRE or dfcre APIs. - Locate the file for the prime or chain block when checkpointing a W-type subfile using DBCKP or dfckp APIs. The application may continue processing after such an error occurs because z/TPFDF did not check for or report errors after the find was issued. If a subsequent z/TPFDF API is issued (for example, a DBADD or dfadd) after checkpoint or create, then a DB010E system error may occur when z/TPFDF attempts to ATTAC a block that was never DETACed. Alternatively, while checkpointing a subfile, a CTL-D2 system error may occur when z/TPFDF attempts to DETAC a block that was never ATTACed.
SOLUTION: Updated create (uaf0.asm) and checkpoint (uac0.asm) subfile processing to check if an error has occurred while attempting to find a record. If an error occurs, the appropriate DB0100 system error will be issued instead of the DB010E or CTL-D2. COREQS: NO None. MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f UTDF uac0.o uaf0.o maketpf UTDF link UPDATED INFORMATION UNITS: NO None. See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/maint/maintztpf.html APAR URL: http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PM95919.htm
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels