IBM Support

PH19236: IBM DEVELOPER FOR Z SYSTEMS (IDZ) ATTEMPTS TO REFACTOR > HIGHLIGHT UNUSED VARIABLE FAILS

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 - v14.2
    
    Attempts to Refactor > Highlight Unused Variable in COBOL
    Editor fails to find copybooks that are already included by
    another prefix for copy/replace.
    
    For Example in the code below the second instance of CPYC72
    is not highlighted even though it is not used.
    
           id division.
           program-id. COPYREPL.
           environment division.
           data division.
           working-storage section.
           01 Unused1.
           COPY CPYTST.
           01 Unused2.
           COPY CPYC72 REPLACING
             ==(*)== BY ==new==.
           01 Unused3.
           copy CPYC72 replacing
               ==(*)== BY ==old==.
           procedure division.
               Move "x" to newVar.
               display 'Bug ' newVar.
               Move "Yes" to newTest.
               Goback.
           End Program COPYREPL.
    

Local fix

  • None available.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED: IBM Developer for z Systems users attempting to
    highligth unused variables in Cobol editor and these variables
    are described in a copybook that is called more than one time in
    DATA.
    ****************************************************************
    PROBLEM DESCRIPTION:  When unused variables are described in
    copybook that is called more than one time in DATA (with
    REPLACING clause), the copybooks concerned  by these variables
    are not highlighted.
    ****************************************************************
    

Problem conclusion

  • ****************************************************************
     Problem Resolution: The problem is fixed. A copybook not used
    is now highlighted.
    
    ****************************************************************
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH19236

  • 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

    2019-11-14

  • Closed date

    2020-03-12

  • Last modified date

    2020-03-12

  • 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

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

Document Information

Modified date:
27 October 2020