IBM Support

PI91183: BATCH CODE REVIEW USERS NEED A WARNING MESSAGE WHEN NO SOURCE MEMBERS ARE BEING SCANNED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When customers run scans in batch, they may have made a mistake
    in the configuration so that no actual source members are
    scanned. In these cases a warning message should be raised to
    alert the customer that this is the case.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: 01.Users of headless code review             *
    *                    application for z/OS.                     *
    *                 02.Users of headless code review             *
    *                    application for z/OS.                     *
    *                 03.Users of headless code review             *
    *                    application for z/OS.                     *
    *                 04.Users of headless code review             *
    *                    application for z/OS.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: 01.Symbolics are not recognized as      *
    *                         integer literals.                    *
    *                      02.COBOL parser fails to recognized     *
    *                         LENGTH without IN/OF.                *
    *                      03.When analyzing a program with        *
    *                         multiple nested programs using a     *
    *                         custom COBOL code rule, reference    *
    *                         resolution error messages may be     *
    *                         issued.                              *
    *                      04.When an extension map does not       *
    *                         correctly identify the language of   *
    *                         specified PDS members, it is         *
    *                         difficult for a customer to tell     *
    *                         whether a scan succeeded with no     *
    *                         results or if there were no PDS      *
    *                         members scanned.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    01.Symbolics are not recognized as integer literals.
    02.COBOL parser fails to recognized LENGTH without IN/OF.
    03.When analyzing a program with multiple nested programs using
       a custom COBOL code rule, reference resolution error
       messages may be issued.
    04.When an extension map does not correctly identify the
       language of specified PDS members, it is difficult for a
       customer to tell whether a scan succeeded with no results or
       if there were no PDS members scanned.
    

Problem conclusion

  • 01.Modified COBOL parser so that symbolics are recognized as
       integer literals.
    02.Modified COBOL parser to recognize LENGTH without IN/OF.
    03.Modified the code that populates the CAM API model to
       properly handle global symbol references in nested programs.
    04.Added a message to alert a customer when no PDS members have
       been scanned.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI91183

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-06

  • Closed date

    2018-01-23

  • Last modified date

    2018-01-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI53384

Modules/Macros

  • AKGXCR01 AKGXCR02 AKGXCR03
    

Fix information

  • Fixed component name

    ID/Z UTILITIES

  • Fixed component ID

    5724T0733

Applicable component levels

  • R951 PSY UI53384

       UP18/01/27 I 1000

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":"SSQ2R2","label":"Rational Developer for System z"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"951","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]

Document Information

Modified date:
19 October 2021