IBM Support

PH15287: DEVELOPER FOR SYSTEM Z - CODE REVIEW IN BATCH RETURNS INCORRECT RETURN CODE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IDz 14.1.7 Code review in batch returns incorrect results on
    the host
    
    When running code review in batch, users receive the wrong RC
    from the job. User noticed on the mainframe the job is returned
    with "WARNING,2", but the rule defined on the PC is defined as
    "SEVERE,2" therefore the user receive conflicting results.
    
    
    Workaround:
    None
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: 01.Code Review users                         *
    *                 02.All batch Code Analysis users using       *
    *                    paths longer than 70 characters           *
    *                 03.Users who run code coverage.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: 01.Code review in batch returns         *
    *                         incorrect results on the host        *
    *                      02.Batch Code Analysis cannot handle    *
    *                         long path names                      *
    *                      03.When specifying the -view parameter  *
    *                         for the headless code coverage       *
    *                         collector, the following error is    *
    *                         displayed: CRRDG7011E The command    *
    *                         argument -view is invalid.           *
    ****************************************************************
    01.When running code review in batch, users receive the wrong
       return code from the job. This happens when using a code
       review rules .dat file with a Severity,2 (Severe) setting
       for a code review rule.
    02.Batch Code Coverage and batcvh Code Review cannot handle
       path names (>70 characters) and only use the last part of
       the path name
    03.The headless code coverage collector failed to handle the
       -view parameter with values correctly.
    

Problem conclusion

  • 01.By default, there are 3 levels of severity in code review.
       SEVERITY,2 should be accepted as SEVERE instead of WARNING
       in this scenario. Return codes may now differ in this
       scenario (03 not 02 for the job), however there are no new
       return codes.
    02.concatenate multi-line path names before continuing
    03.The headless code coverage collector was updated to process
       the -view parameter so that values may be specified.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH15287

  • Reported component name

    Z/OS EXPLORER E

  • Reported component ID

    5724T0723

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-05

  • Closed date

    2020-05-11

  • Last modified date

    2020-08-03

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

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

    PH25287 PH25288 UI69427

Modules/Macros

  • AKGCCX   AKGFT001 AKGFT004 AKGFT005 AKGXCR03 AKGXCR05 AKGXCR07
    

Fix information

  • Fixed component name

    SOURCE CODE ANA

  • Fixed component ID

    5724T0733

Applicable component levels

  • RE10 PSY UI69427

       UP20/07/06 P F007

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":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
05 August 2020