IBM Support

PI47608: IN RDZ, PROGRAM ID BETWEEN QUOTES VIOLATES THE COBOL RULE "USE A PROGRAM NAME THAT MATCHES THE SOURCE FILE NAME".

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for System z - RDz - v9.0.1, Program id
    between quotes violates the COBOL rule:
    "Use a program name that matches the source file name".
    
    Steps to reproduce:
    
    1- Open COBOL program source HELLO(.cbl) with a PROGRAM-ID
    between quotes like
    
           IDENTIFICATION DIVISION.
           PROGRAM-ID. "HELLO".
    
    2- Run a Software Analysis with COBOL rules enabled
    
    3- Result shows a violation of COBOL rule
    "Use a program name that matches the source file name"
    

Local fix

  • PROGRAM-ID without quotes does not violate the rule
    
    COBOL code like:
           IDENTIFICATION DIVISION.
           PROGRAM-ID. HELLO.
    

Problem summary

  • In Rational Developer for System z - RDz - v9.0.1, Program id
    between quotes violates the COBOL rule:
    "Use a program name that matches the source file name".
    
    Steps to reproduce:
    
    1- Open COBOL program source HELLO(.cbl) with a PROGRAM-ID
    between quotes like
    
           IDENTIFICATION DIVISION.
           PROGRAM-ID. "HELLO".
    
    2- Run a Software Analysis with COBOL rules enabled
    
    3- Result shows a violation of COBOL rule
    "Use a program name that matches the source file name"
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI47608

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-26

  • Closed date

    2016-04-26

  • Last modified date

    2016-04-26

  • 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: 901

Reference #: PI47608

Modified date: 26 April 2016