Closed as program error.
See Problem Summary.
APAR NUMBER: PJ40799 PRODUCT: z/TPF FUNCTIONAL AREA: 'C' LANGUAGE SUPPORT SHIPPED IN PUT: 10 ABSTRACT: A CTL-230 may occur when logging system messages using syslog. PACKAGE CONTENTS: Source Segments: (C) base/rt/csylgd.c Object Only Binaries: None. Configuration Independent Binaries: (C) base/obj/csylgd.o (C) base/load/CSYL.so Support Files: base/lst/csylgd.lst base/lst/CSYL.map OTHER BINARIES TO BUILD: NO None. COMMENTS: When logging messages, function fprintlog() in program segment csylgd.c declares and initializes an integer sized variable, bss, to indicate that it is not operating in the BSS and that a cebic_restore() must be issued before exiting. When logging messages to file, fprintlog() will check the BSS indicator in the ECB. If it is not operating in the BSS, a cebic_save() and cebic_goto_bss() are issued. Otherwise, the variable, bss, is set to indicate that it is operating in the BSS. However, there are other paths in this function where the BSS indicator in the ECB is not checked. Yet, before exiting, variable bss is still checked to determine if a cebic_restore() needs to be issued. If, for example, fprintlog() is writing to tape, then a cebic_restore() is needlessly issued and a CTL-230 will occur.
SOLUTION: In program segment csylgd.c, function fprintlog() has been updated to always check the BSS inidicator in the ECB, set variable bss, and issue cebic_save and cebic_restore accordingly. Before exiting, variable bss will correctly indicate whether or not a cebic_restore() must be issued. In addition, segment csylgd.c was updated to call ascii2ebcdic() and convert a message only if the prior call to recvfrom() returned a valid message. COREQS: NO None. MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f CSYL csylgd.o maketpf CSYL 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/PJ40799.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