A fix is available
APAR status
Closed as program error.
Error description
The TALLYING result is incorrect when the substr1 has a length of 0.
Local fix
Avoid TALLYING of substring that has a length of 0.
Problem summary
**************************************************************** * USERS AFFECTED: Enterprise COBOL V5+ user with INSPECT ... * * TALLYING ... FOR ALL substr1 statement, * * where the substr1 has a length of 0. * * * **************************************************************** * PROBLEM DESCRIPTION: Incorrect output at runtime: The * * tallying result is incorrect when the * * substr1 has a length of 0. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF * **************************************************************** The comparison logic of handling the match was incorrect when the substring has a length of 0.
Problem conclusion
The INSPECT ... TALLYING logic has been corrected to handle where the substring has a length of 0.
Temporary fix
Comments
APAR Information
APAR number
PI71767
Reported component name
LE ENT COBOL LI
Reported component ID
568819812
Reported release
790
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-11-07
Closed date
2016-11-16
Last modified date
2016-12-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
IGZXLPKA
Fix information
Fixed component name
LE ENT COBOL LI
Fixed component ID
568819812
Applicable component levels
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":"SSCVR7X","label":"Runtime"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 December 2020