A fix is available
APAR status
Closed as program error.
Error description
This APAR is to correct the problem documented in FIN APAR PK95916. This APAR will also address a problem USING FUNCTION LENGTH that results in IGYRC5108-U with last phase being IGYPMOVE.
Local fix
Use LENGTH OF instead of FUNCTION LENGTH as a bypass.
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V4 with programs * * that have one or both of the following: * * 1. Arithmetic expressions involving a * * numeric DISPLAY operand (zoned decimal) with * * multiply and FUNCTION LENGTH() following the * * multiplication operator. * * 2. Intrinsic function used in reference * * modification of operands of INITIALIZE, * * XML PARSE and SEARCH verbs. * * * **************************************************************** * PROBLEM DESCRIPTION: 1. Compiler abort or incorrect output. * * IF the compiler aborts, the message is * * IGYRC5108-U with a S0C7 or S0C4. * * 2. Run-time abend ABEND=S0C7 or * * compiler abort IGYRC5108-U * * IF the compiler aborts, the message is * * IGYRC5108-U with a S0C1. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** 1. The COBOL compiler tried to calculate the value of the expression at compile time because it incorrectly determined that both operands were constants. 2. The Compiler was not properly saving information about intrinsic function and reference-modification in the statement, so the runtime tried to use nonexistent function information or the compiler backend aborted with missing information.
Problem conclusion
1. The COBOL compiler is changed to correctly check that both operands of a multiply operation are constants when the data types are external decimal. 2. The compiler is changed to properly save information about both the intrinsic function and the reference-modification for INITIALIZE, XML PARSE and SEARCH statements.
Temporary fix
Comments
APAR Information
APAR number
PM76182
Reported component name
ENT COBOL FOR Z
Reported component ID
5655S7100
Reported release
420
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-10-30
Closed date
2012-12-12
Last modified date
2013-01-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK90274 UK90275
Modules/Macros
IGYPTIII IGYPTISL IGYQPR14
Fix information
Fixed component name
ENT COBOL FOR Z
Fixed component ID
5655S7100
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":"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":"4.2","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]
Document Information
Modified date:
02 January 2013