IBM Support

PM81346: RDz Code Review / Software Analysis should not display avoid warning for dynamic call statement

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z Code Review / Software Analysis
    should not display Avoid warning for dynamic call statement
    
    COBOL 'Code Review' (RDz 8.0) / 'Software Analysis' (RDz 8.5)
    marks dynamic CALL statements with a warning.
    The warning is:
    (RDz 8.0) 'Avoid CALL statements with program-name. Use dynamic
    calls.'
    (RDz 8.5) 'Avoid CALL statements with a literal program name.'
    
    Cause:
    A CALL statement with a variable name is interpreted as a static
    call.
    
    Example:
    ...
    PROGNVAR      PIC X(08) VALUE 'PRG123'
    ...
    CALL PROGNVAR USING LEVEL
    ...
    
    - CALL of nested programs are also misinterpreted.
    

Local fix

Problem summary

  • The code that performed the rule implementation incorrectly
    identified static calls and mistakenly included dynamic calls.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM81346

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-24

  • Closed date

    2013-07-31

  • Last modified date

    2013-07-31

  • 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

  • R803 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.0.3

Reference #: PM81346

Modified date: 31 July 2013