IBM Support

PI12672: Rational Developer for System z (RDz): RDz 8.5.1.1, COBOL Editor with Format action incorrectly formats the COBOL file

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z (RDz): RDz 8.5.1.1, COBOL
    Editor with Format action incorrectly formats the COBOL file
    ***************************************************************
    Rational Developer for System z (RDz): 'Format Source Code'
    option in the 'Save Actions' for COBOL Editor incorrectly
    formats
    the COBOL file if executed while initial copybook download in
    progress. So, comment lines and Value clauses are corrupted
    because they are wrongly changed to lower or upper case.
    ***************************************************************
    Local fix:
    Do not use the 'Format Source code' option while the editor
    is still downloading the COBOL copybooks.
    

Local fix

Problem summary

  • While the Save Action > Format  does wait for the copybooks to
    get resolved before formatting the file content, it then doesn't
    wait for the initial document changes made before the save was
    invoked to also get resolved.  So in effect it is formatting the
    document as if it didn't have the extra lines of comments in
    it... which causes the alignment to go off.  The fix is to wait
    for the both the initial copybooks to be resolved and any
    unsaved changes to be processed by the parser before attempting
    to format the document.
    

Problem conclusion

  • The Save Actions > Format behavior has been updated to wait for
    both the copy statements to get resolved as well as any interim
    file modifications to also get resolved and integrated into the
    language model prior to applying any formatting changes to the
    document.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.5.1.5 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI12672

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-27

  • Closed date

    2014-06-27

  • Last modified date

    2014-06-27

  • 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

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R851 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PI12672

Modified date: 27 June 2014