Skip to: Abstract | Comments | Solution | Migration | Download
APAR NUMBER: PK42403 PRODUCT: z/TPFDF FUNCTIONAL AREA: TPFDF C SUPPORT SHIPPED IN PUT: 4 ABSTRACT: With z/TPFDF APAR PK33480 installed, z/TPF segments cdcp.c and cdcs.cpp don't compile. Also, z/TPFDF subfiles using the 8-byte file address header that use LLRs can become corrupted with PK33480 installed. PACKAGE CONTENTS: Source Segments: (C) tpfdf/include/c_cdferr.h (C) tpfdf/rt/ufka00.cpp (C) tpfdf/rt/ufka01.cpp (C) tpfdf/rt/ufka02.cpp Object Only Binaries: None. Configuration Independent Binaries: (C) base/load/CDCP.so (C) base/load/CDCS.so (C) base/obj/cdcp.o (C) base/obj/cdcs.o Support Files: base/lst/cdcp.lst base/lst/cdcs.lst base/lst/CDCP.map base/lst/CDCS.map OTHER BINARIES TO BUILD: (C) <sys>/load/UFKA.so (C) <sys>/obj/ufka00.o (C) <sys>/obj/ufka01.o (C) <sys>/obj/ufka02.o PREREQUISITE APARS IN APPLICATION ORDER: tpfdf/include/c_cdferr.h PK33480(4) tpfdf/rt/ufka00.cpp PK09149(1) PK30610(4) PK33480(4) tpfdf/rt/ufka01.cpp PK09149(1) PK10703(2) PK15646(3) PK19576(4) PK30610(4) PK33480(4) tpfdf/rt/ufka02.cpp PK09149(1) PK30610(4) PK33480(4) <sys>/load/UFKA.so PK09149(1) PK10703(2) PK15646(3) PK19576(4) PK30610(4) PK33480(4) <sys>/obj/ufka00.o PK09149(1) PK30610(4) PK33480(4) <sys>/obj/ufka01.o PK09149(1) PK10703(2) PK15646(3) PK19576(4) PK30610(4) PK33480(4) <sys>/obj/ufka02.o PK09149(1) PK30610(4) PK33480(4) base/load/CDCP.so PJ30403(1) PJ30419(1) PJ30609(2) PJ30742(2) PJ30944(2) PJ30979(2) PJ30885(2) PJ31329(3) PJ31332(3) PJ31466(3) PJ31437(3) PJ31549(4) PJ31582(4) PJ31680(4) PJ31739(4) PJ31435(4) PJ31424(4) PJ30688(4) base/load/CDCS.so PJ30403(1) PJ30609(2) PJ30742(2) PJ30979(2) PJ30885(2) PJ31466(3) PJ31437(3) PJ31435(4) PJ31424(4) base/obj/cdcp.o PJ30403(1) PJ30419(1) PJ30609(2) PJ30742(2) PJ30944(2) PJ30979(2) PJ30885(2) PJ31329(3) PJ31332(3) PJ31466(3) PJ31437(3) PJ31549(4) PJ31582(4) PJ31680(4) PJ31435(4) PJ31424(4) base/obj/cdcs.o PJ30403(1) PJ30609(2) PJ30742(2) PJ30979(2) PJ30885(2) PJ31466(3) PJ31437(3) PJ31435(4) PJ31424(4) COMMENTS: (1) A SIDCODE in segment c_cdferr.h, modified with APAR PK33480, was written as "/PK33480". There should be two slashes. This causes compilation errors. (2) During the processing to replace a large logical record (LLR), the sequence number from the current block is used as an indicator to protect a read operation from accessing an LLR that is in the middle of a replace operation and has only partially written out to DASD. The reading and writing of that sequence number in the master large logical record (MLL) is always done using the 4-byte file address header layout. If the subfile is using 8-byte file address headers, this will cause database corruption. SOLUTION: (1) Header file c_cdferr.h is updated. The SIDCODE is changed to have two leading slashes. (2) Each time the sequence number is accessed in the MLL, the block header is checked if it has an 8-byte file address header and the appropriate standard header layout is used. The changes are made in ufka00.cpp, ufka01.cpp and ufka02.cpp. COREQS: PJ31945 (The source code APAR PJ31945 must be installed before the objects for this APAR are built.) MIGRATION CONSIDERATIONS: None. BUILD COMMANDS AND INSTRUCTIONS: #maketpf commands for linux maketpf -f CDCP cdcp.o maketpf -f UFKA ufka00.o ufka01.o ufka02.o maketpf CDCP link maketpf -f CDCS maketpf UFKA link cdcp.c and cdcs.cpp UPDATED INFORMATION UNITS: None. See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/pages/maint.htm APAR URL: http://www.ibm.com/software/htp/tpf/ztpfmaint/put4/PK42403.htm APAR Package
