A fix is available
APAR status
Closed as program error.
Error description
After comparing the V4 and V5 code generated by the compilers, both of them requires a large temporary variable to process the XML statement. V4 uses heap storage for this purpose, while V5 uses the stack. The total storage required for V4 is less than that for V5 for UTF-8 input. Changing CBL V5 to use heap storage instead of stack storage to be more like CBL V4.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL 5.2 compiling and * * running programs containing XML PARSE * * statements that use the RETURNING NATIONAL * * phrase. * * * **************************************************************** * PROBLEM DESCRIPTION: Runtime performance: Excessive use of * * STACK storage at execution compared to * * Enterprise COBOL 4.2 and earlier. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** The memory for a compiler temporary used for NATIONAL conversion in XML PARSE statements was coming from STACK storage instead of being allocated dynamically from HEAP storage.
Problem conclusion
The compiler was updated so that memory for the compiler temporary used for NATIONAL conversion in XML PARSE statements is now dynamically allocated from HEAP storage instead of statically allocated from STACK storage.
Temporary fix
Comments
APAR Information
APAR number
PI69154
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
520
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-13
Closed date
2016-11-22
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:
PI72827
Modules/Macros
IGYCRCTL
Fix information
Fixed component name
ENT COBOL FOR Z
Fixed component ID
5655W3200
Applicable component levels
R520 PSY UI42823
UP16/11/26 P F611
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 December 2016