IBM Support

PI37515: RATIONAL DEVELOPER FOR SYSTEM Z V9.1.0 - SOFTWARE ANALYZER DOES NOT SUPPORT 'ABBREVIATED COMBINED RELATION CONDITIONS' IN COBOL

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When performing Software Analysis on program source for its
    compliance with the 'Abbreviated Combined Relation Conditions'
    rules, the user will observe this error message "CRRZV0204E An
    exception was thrown during the translation of the following
    statement to the Cobol Application Model" in the workspace .log
    file. In the case of the example statement below, the same error
    message may be repeated several times for the same statement.
    
    
               IF TESTFELD-4 NOT = SPACE
                         AND NOT = '01.01.0001'
                         AND NOT = LOW-VALUE THEN
                  CONTINUE
               END-IF
    
    
    This exception may be observed .log:
    
    !MESSAGE CRRZV0204E An exception was thrown during the
    translation of
    the following statement to the Cobol Application Model:
    
    IF TESTFELD-4 NOT = SPACE
                         AND NOT = '01.01.0001'
                         AND NOT = LOW-VALUE THEN
                  CONTINUE
               END-IF
    !STACK 0
    java.lang.UnsupportedOperationException
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Express
    ionFacto
    ry.createExprConditional(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Express
    ionFacto
    ry.createExprConditional(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Express
    ionFacto
    ry.createVariableReferencesForIfStatement(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Stateme
    ntFactor
    y.createIfStatement(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Stateme
    ntFactor
    y.createStatement(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Stateme
    ntFactor
    y.processSentenceList(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Stateme
    ntFactor
    y.createStatements(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Procedu
    reDivisi
    onFactory.createSentences(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Procedu
    reDivisi
    onFactory.createProcedureDivision(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Procedu
    reDivisi
    onFactory.create(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Program
    Factory.
    create(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.factory.Program
    SourceFi
    leFactory.create(Unknown Source)
    at
    com.ibm.etools.cobol.application.model.cobol.ast.ModelProvider.c
    reateMod
    el(Unknown Source)
    at
    com.ibm.rsar.analysis.codereview.cobol.CodeReviewResource.getCom
    pilation
    Unit(Unknown Source)
    at
    com.ibm.rsar.analysis.codereview.cobol.custom.rules.AbstractCust
    omCobolA
    nalysisRule.analyze(Unknown Source)
    at
    com.ibm.rsaz.analysis.core.rule.AbstractAnalysisRule.analyze(Unk
    nown
    Source)
    at
    com.ibm.rsaz.analysis.core.category.DefaultAnalysisCategory.anal
    yze(Unkn
    own Source)
    at
    com.ibm.rsar.analysis.codereview.baseline.language.AbstractRevie
    wProvide
    r.analyze(Unknown Source)
    at
    com.ibm.rsaz.analysis.core.manager.AnalysisProviderManager$2.run
    (Unknown
    Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
    

Local fix

Problem summary

  • The COBOL Custom Code Rules API does not support abbreviated
    combined relation conditions.
    

Problem conclusion

  • Modified the COBOL Custom Code Rules API to support abbreviated
    combined relation conditions.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.1.1.2 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

    PI37515

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-20

  • Closed date

    2015-10-16

  • Last modified date

    2015-10-16

  • 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

  • R911 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.1

Reference #: PI37515

Modified date: 16 October 2015