IBM Support

PI96682: IDZ V14.1.2, SAVING A COBOL SOURCE FAILS WHEN "FORMAT SOURCE CODE" WITH "APPLY ONLY CAPITALIZATION OPTIONS" IS ENABLED

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

  • In IBM Developer for z Systems (IDz) v14.1.2, saving a COBOL
    source will result in syntax errors due to incorrect
    indentation, if in the COBOL Editor preference, Window >
    Preferences > COBOL > Editor > Save Actions, "Format source code
    > Apply only capitalization option" is enabled. Upon saving the
    file, the source will be indented incorrectly resulting in
    syntax errors.
    

Local fix

  • In Window > Preferences > COBOL > Editor > Save Actions dialog,
    disable "Format source code" option or enable "Format source
    code" with "Apply all formatting options".
    

Problem summary

  • The data division formatter code incorrectly checked preferences
     causing formats to happen when they should not.
    

Problem conclusion

  • Modified the data division formatter code to correct the
    behavior of the formatter according to preferences.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI96682

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-12

  • Closed date

    2018-06-14

  • Last modified date

    2018-06-14

  • 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 SYS

  • 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":"E10","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020