IBM Support

PM30883: RDz 8 COBOL SQL Content Assist not working as expected

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using a simple COBOL program with EXEC SQL statements on the
    Data Division.
    Typing DI and pressing Ctrl+Space the DISPLAY statement is not
    displayed as a valid statement. After commenting the EXEC SQL on
    Data Division all works a expected also adding a period after
    the END-EXEC will make the content assist work as expected.  The
    problem does not occur when using RDz 7.6.
    This happens with LOCAL COBOL Projects.
    

Local fix

Problem summary

  • ****************************************************************
    *
    USERS AFFECTED:
        RD/z users who used content assist in COBOL programs with
    exec sql statements
       in the data division.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
       In COBOL programs with an exec sql statement in the data
    division, where the
       exec sql statement did not end in a period (it ended with
    end-exec), invoking
       content assist in the procedure division did not display
    procedure division
       statements like DISPLAY, DIVIDE, etc. where appropriate.
    

Problem conclusion

  • ************************************************************
    PROBLEM RESOLUTION:
      RD/z content assist correctly handles COBOL programs with exec
    sql
      statements in the data division that end with end-exec, so
    that, when
      content assist is invoked in the procedure division, procedure
    division
      statements like DISPLAY, DIVIDE, etc. are suggested where
    appropriate.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.2 Refresh 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

    PM30883

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-20

  • Closed date

    2011-05-17

  • Last modified date

    2011-05-17

  • 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

  • R801 PSY

       UP

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

Document Information

Modified date:
27 October 2020