A fix is available
APAR status
Closed as program error.
Error description
64-bit: FORMATTED-DATE returns the same value for January 1 and December 31st of the same year
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V6.3 and later * * releases running programs * * in AMODE 64 using the FORMATTED-DATE * * intrinsic function to display dates in * * week-day format (YYYY-Www-D). * **************************************************************** * PROBLEM DESCRIPTION: The FORMATTED-DATE intrinsic function * * returns the same value for January 1st * * and December 31st of the same year * * when the requested output is in * * week-day format (YYYY-Www-D). * **************************************************************** * RECOMMENDATION: Install provided PTF. * **************************************************************** There was a logic error in the runtime routine for FORMATTED-DATE intrinsic function when the user programmed the output to display in week-day format (YYYY-Www-D). COB0603T/K
Problem conclusion
The logic in the runtime routine for FORMATTED-DATE intrinsic function has been corrected to return the correct date in week-day format (YYYY-Www-D) for January 1st and December 31st of the same year.
Temporary fix
Comments
APAR Information
APAR number
PH41117
Reported component name
LE ENT COBOL LI
Reported component ID
568819812
Reported release
7D0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-10-05
Closed date
2021-10-27
Last modified date
2021-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CELQSG04 CELQV004 IGZQAPI IGZQCDA IGZQINPL IGZQR004
Fix information
Fixed component name
LE ENT COBOL LI
Fixed component ID
568819812
Applicable component levels
R7B0 PSY UI77781
UP21/10/30 P F110
R7C0 PSY UI77782
UP21/10/30 P F110
R7D0 PSY UI77783
UP21/10/30 P F110
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.
[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7D0"}]
Document Information
Modified date:
02 November 2021