PJ41390: A CTL-1 error may happen if an application corrupts ECB field CE1IN1.
Closed as program error.
See problem summary.
APAR NUMBER: PJ41390 PRODUCT: z/TPF FUNCTIONAL AREA: SYSTEM TASK DISPATCHER (CPU LOOP) SHIPPED IN PUT: 10 ABSTRACT: A CTL-1 error may happen if an application corrupts ECB field CE1IN1. PACKAGE CONTENTS: Source Segments: (C) base/cp/cedm.cpy (C) base/cp/chk3.cpy (C) base/cp/chsz.cpy (C) base/cp/cicr.cpy (C) base/cp/cics.cpy (C) base/cp/clhh.cpy Object Only Binaries: None. Configuration Independent Binaries: None. Support Files: None. OTHER BINARIES TO BUILD: YES (C) <sys>/load/CPS0.so (C) <sys>/obj/cchook.o (C) <sys>/obj/ccmcdc.o (C) <sys>/obj/ccnucl.o (C) <sys>/obj/ccstor.o (C) os390/bin/ppcp.pds (C) os390/obj/ccmcdc.o COMMENTS: Trace log uses bit IN1TLG (x'01') in ECB page 1 field CE1IN1 to indicate that trace log is active for this ECB. If bit IN1TLG is on in byte CE1IN1, TPF assumes that trace log is active for this ECB and that the trace log buffer block that is referenced from ECB page 3 field CE3TRLOG is valid. In this case, the contents of CE3TRLOG are used without any validation. If an applications corrupts ECB field CE1IN1 and bit IN1TLG is set on, it is possible that the trace log buffer block address in CE3TRLOG has not been set properly. Trace log logic will use the contents of CE3TRLOG regardless of its contents. Because CE3TRLOG maybe garbage, a CTL-1, CTL-2, OPR-3, or OPR-4 error may happen.
SOLUTION: Logic that determines whether trace log is active for an ECB has been updated. When ECB bit IN1TLG (x'01') in ECB page 1 field CE1IN1 is on, the contents of CE3TRLOG are also checked to verify that CE3TRLOG is not zero. Therefore, in order to execute trace log logic, ECB, bit IN1TLG (x'01') in ECB page 1 field CE1IN1 must be on and ECB page 3 field CE3TRLOG must be non-zero. In addition, when trace log is turned off for an ECB, ECB page 3 field CE3TRLOG is now set to zero. COREQS: YES PJ41392 MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f CPS0 cchook.o ccmcdc.o ccnucl.o ccstor.o maketpf CPS0 link #maketpf commands for z/OS maketpf -f ppcp ccmcdc.o maketpf ppcp 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/PJ41390.htm
Reported component name
Reported component ID
NoSpecatt / Xsystem
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