A fix is available
APAR status
Closed as program error.
Error description
Fill char for ostream replaced by a space with C++ run-time update
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users who compile c++ code with * * std::setfill() using IBM Open XL C/C+ 1.1 * * compiler and executing their program on s * * ystems where IBM Open XL C/C++ 2.2 is * * installed. * **************************************************************** * PROBLEM DESCRIPTION: This is a binary compatibility issue * * when c++ code with fill char. via * * std::setfill() call is compiled with * * v1 compiler but execute with v2 * * runtime. In this case the fill char. * * is replaced with space. The problem * * does not exists when both compile and * * execute steps are using the same * * version of compiler and runtime being * * v1 or v2. The problem exits only in * * mixed case. * **************************************************************** * RECOMMENDATION: Apply the PTF and recompile code affected * * by this fix. * **************************************************************** The fill char. is repaced with 'space'. For example with std::setfill(0), char. '0' is replaced with ' '.
Problem conclusion
IBM Open XL C/C+ 1.1 has changed so the fill char. will be preserved when executing on system with version of IBM Open XL C/C++ 2.1.
Temporary fix
Comments
APAR Information
APAR number
PH60952
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
7C2
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-04-17
Closed date
2024-04-19
Last modified date
2024-05-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CNWPHPAX CNWSNPAX
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R7C2 PSY UI96583
UP24/04/26 P F404
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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7C2","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
02 May 2024