APAR status
Closed as program error.
Error description
CODE ANALYSIS INTERNAL DEFECTS AND ENHANCEMENTS 15.0.5
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: 01.COBOL developers with copy books * * including another copy. * * 02.PL/I developers with precompilers * * using IDz 15.0.3. * * 03.COBOL Developers with code using * * ++INCLUDE statements. * * 04.COBOL Developers with code that has * * SKIP1,SKIP2, or SKIP3 statements. * * 05.All Code Review users. * **************************************************************** * PROBLEM DESCRIPTION: 01.Software analysis failed with error * * "ERROR_TOKEN" when using one * * copybook which including another * * copy. * * 02.While using the PL/I Pre-compiler, * * users can get a * * java.lang.ArrayIndexOutofBoundsExcep * * tion. * * 03.IDz is unable to find a copybook * * referenced by a ++INCLUDE statement * * when using show expanded source. * * 04.IDz does not recognize a custom * * COBOL rule identifying SKIP1, SKIP2, * * or SKIP3. * * 05.Enhancement to support COBOL 6.4, * * PL/I 6.1, and CICSTS 6.1 * **************************************************************** 01.The problem occurs because the set background copybook setting is always set as false. This parameter determines whether the copybook is downloaded in the background while parsing. In the regular parsing, in comparison, the set background copybook is by default set to true. 02.When checking pre-compiler includes and comment checks, there is a defect in IDz that can occur during calculations where the return value is off by 1 and cause an array out of bounds exception. 03.When editing a COBOL program containing ++INCLUDE statements referencing copybook there may be an unexpected error "Unable to find copybook...". The same copybook can be found without problems if the statement is moved to a different location of the source code. This is caused by Incorrect processing of source containing apostrophes. 04.When a custom COBOL rule is written, SKIP1, SKIP2, or SKIP3 are not recognized as a valid COBOL compile directives. 05.This release introduces support for Enterprise COBOL for z/OS 6.4, Enterprise PL/I for z/OS 6.1, andI BM CICS Transaction Server for z/OS 6.1. For the new features of each product, see the product documentation. Specifically for Code Review COBOL 6.4 Support for user-defined functions by Software Analyzer code rules, the COBOL Application Model API, and the PL/I Application Model API are applicable for use of new COBOL, PL/I and CICS language statements.
Problem conclusion
01.Made changes to use the correct background copybook setting. 02.IDz has fixed the defect. 03.IDz has fixed the defect. 04.SKIP(1,2,3) has been added to the code rules for COBOL. 05.Support added.
Temporary fix
Comments
APAR Information
APAR number
PH46783
Reported component name
SOURCE CODE ANA
Reported component ID
5724T0733
Reported release
F00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-05-26
Closed date
2022-05-27
Last modified date
2022-06-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
AKGXCR01
Fix information
Fixed component name
SOURCE CODE ANA
Fixed component ID
5724T0733
Applicable component levels
[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSQ2R2","label":"Rational Developer for System z"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"F00"}]
Document Information
Modified date:
06 July 2022