IBM Support

PI90524: RATIONAL DEVELOPER FOR Z : FIND/REPLACE FUNCTION DOES NOT WORK CORRECTLY IN COBOL EDITOR.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for Z - v9.5.1
    
    When having several occurrences to replace in a COBOL source
    code file, the replace function works correctly only on the
    first occurrence.
    If the "Replace" button is hit a second time after having done
    the first replacement, the newly replaced text is updated.
    
    Open a cobol program;
    Hit CTRL+F to open the the wizard,
    Enter "IBM" in "Find" field,
    Enter "TEST" in "Replace" field,
    Click "Find" button,
    Click "Replace" button,
    Click "Replace" button again.
    
    The text on the line of the previous replace gets reduced after
    the first replace.
    IBM - replace with MB
    IBM COBOL FILE
    
    becomes
    MB COBOL FILE
    then
    MBCOBOL FILE
    then
    MBOBOL FILE
    
    Each replace is modifying three characters even though the
    string to be replaced no longer matches.
    

Local fix

Problem summary

  • Find /Replace function does not work correctly in Cobol editor
    
    USERS AFFECTED: All
    
    
    PROBLEM DESCRIPTION:
    The find and replace function will operate multiple times in the
    same text location
    without a new find on the original string.
    
    The text on the line of the previous replace gets reduced after
    the first replace.
     IBM - replace with MB
    IBM COBOL FILE
    
    becomes
    MB COBOL FILE
    then
    MBCOBOL FILE
    then
    MBOBOL FILE
    
    Each replace is modifying three characters even though the
    string to be replaced no longer matches.
    

Problem conclusion

  • The find and replace functionality was modified so that multiple
     replace operations were not possible.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.7 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

    PI90524

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-21

  • Closed date

    2018-01-29

  • Last modified date

    2018-01-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 SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: E00

Reference #: PI90524

Modified date: 29 January 2018