A fix is available
APAR status
Closed as program error.
Error description
Enterprise COBOL 5.x program which has 'GO TO section' statement, with the section coded with only another 'GO TO' statement, issues error message IGYCB7300 incorrectly. Message states that code can never be executed, and is therefore discarded.
Local fix
For this specific instance, the message can be ignored. However, use caution because the message is useful in many instances.
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V5.1 compiling * * COBOL programs that contain GOTO DEPENDING * * ON statements where one or more destinations * * of the GOTOs contain no code besides another * * GOTO. * * * * * **************************************************************** * PROBLEM DESCRIPTION: Misleading message: The compiler issues * * warning MSGICYCB7300-W THE CODE FROM * * LINES x IN PROGRAM 'xxxxx' CAN NEVER BE * * EXECUTED AND WAS THEREFORE DISCARDED. * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** The compiler was logging all lines of COBOL code removed by a particular optimization. In this case, the logging is unnecessary.
Problem conclusion
The compiler was fixed to issue the warning message for lines of COBOL code removed when replacing a GOTO reaching a GOTO with a single direct GOTO.
Temporary fix
Comments
APAR Information
APAR number
PI50447
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-10-13
Closed date
2015-11-02
Last modified date
2015-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
IGYCBE
Fix information
Fixed component name
ENT COBOL FOR Z
Fixed component ID
5655W3200
Applicable component levels
R510 PSY UI32598
UP15/11/05 P F511
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":"5.1","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":"5.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 December 2015