IBM Support

PI34297: RDz COBOL Rule template to Create New Rule in New Plug-in Project cannot add EXEC SQL statement in the Data Division

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • IBM Rational Developer for System z (RDz) v9.0.1.3, when
    creating a plug-in project for a COBOL Custom Code Review Rule
    the screen to select what COBOL elements can be included in the
    Data Division should present ExecSqlStmt as a choice. However,
    there is no choice in the UI to add ExecSqlStmt in the Data
    Division. The ExecSqlStmt is only presented in Procedure
    Division->Sentences. Therefore a plug-in project custom rule
    cannot be created to check for ExecSqlStmt in the Data Division.
    
    To recreate:
    - Select File->New Project->Plug-in Development->Plug-in Project
    - use default values with name of CustomSQLCOBOLrule and click
    Next
    - Take defaults and click Next
    - Check box for "Create a plug-in using one of the templates"
    - Under the templates presented select Custom COBOL Code Review
    Rule and click Next
    - In the "Select one or more COBOL elements to be analyzed by
    this rule" table the only options for Data Division are:
      File Section
      WorkingStorageSection
      LocalStorageSection
      LinkageSection
      DataItem
      Level01Itme
      Level66Item
      Level77Item
      Level88Item
    

Local fix

Problem summary

  • EXEC SQL statements are not correctly modeled in the Data
    Division for custom COBOL code review rules.
    

Problem conclusion

  • Modified the UI to add ExecSqlStmt to the DataDivision in the
    COBOL element tree in the wizard for creating custom COBOL code
    review rules. Modified model population code to make sure data
    division EXEC SQL statements are correctly modeled.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.0.1.4 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

    PI34297

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-05

  • Closed date

    2015-06-04

  • Last modified date

    2015-06-04

  • 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

  • R901 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.1.1

Reference #: PI34297

Modified date: 04 June 2015