IBM Support

PH40551: IBM DEVELOPER FOR Z SYSTEMS (IDZ V15.0.2) WITH HALSTEAD METRICS RULES IN SOFTWARE ANALYZER - THE THRESHOLD VALUES > 999 VANISHES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • IBM Developer for z Systems - IDz - v15.0.1 Software Analyzer:
    Using the Halstead Metrics rules, Program vocabulary size, the
    threshold values > 999 vanishes after apply and close.
    
    The higher value can be set but the result is not usable to know
    what values the programs are really checked.
    
    From Software Analyzer Configuration, create a ruleset and
    select
    COBOL Software Metrics â “ Halstead Metrics â “ Program
    vocabulary size
    
    . There, you can tick-mark  'Analyze the threshold' and set the
    Maximum program vocabulary allowed in a program, at 9000
    
    . Press Apply and Close
    
    But when you go to the same place again, the tick-mark and the
    value are gone.
    
    If you Export the file via the Export button into a .dot file,
    the Threshold is there:
    metrics.cobol.rules.ProgramVocabulary
    metrics.cobol.rules.ProgramVocabulary.variable.ABBREVIATION,HPVO
    C
    metrics.cobol.rules.ProgramVocabulary.variable.MAX_PROGRAM_VOCAB
    ULARY_IN_FILE,9,000
    

Local fix

Problem summary

  • Using the Halstead Metrics rules, Program vocabulary size, the
    threshold values > 999 vanishes after apply and close. The
    higher value can be set but the result is not usable to know
    what values the programs are really checked.
    
    From Software Analyzer Configuration, create a ruleset and
    select:
    
    COBOL Software Metrics ? Halstead Metrics ? Program vocabulary
    size
    There, you can tick-mark  'Analyze the threshold' and set the
    Maximum program vocabulary allowed in a program, at 9000. Press
    Apply and Close. But when you go to the same place again, the
    tick-mark and the value are gone.
    

Problem conclusion

  • This issue has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH40551

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    E20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-13

  • Closed date

    2021-10-29

  • Last modified date

    2021-10-29

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

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

Fix information

  • Fixed component name

    DEV FOR Z/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E20"}]

Document Information

Modified date:
30 October 2021