IBM Support

PM71380: RDz COBOL edit problem if unneeded continuation character

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The user has a COBOL program with a DISPLAY statement starting
    on one line and continues it on to a second line with an
    unnecessary continuation mark '-' in column 7.
    This creates an error in both the COBOL and LPEX editor under
    RDz.
    The continuation is not needed and the COBOL compiler ignores
    it.
    The program compiles without error and runs correctly.
    
    
    
    Here is a sample of the syntax:
    
               DISPLAY 'Hello world '
          -    ANY-DATA-ITEM.
    with the - in col 7 and the other text starting in column 12.
    The message if you click on the statement flag from the syntax
    check is
    'ERROR_TOKEN Unexpected tokens'.
    
    ADDITIONAL SYMPTOM:
    This situation causes an additional usability problem. Because
    the statement is flagged, its presence blocks other functions
    such as 'Open Declaration' or 'Open Perform Hierarchy' and use
    of F3.
    These options are greyed out in the drop down menu.
    
    
    LOCAL FIX:
    
    Remove any unneeded continuation characters in column 7 for the
    additional lines of the DISPLAY statement.
    

Local fix

Problem summary

  • Warning annotations are given by the editor real-time syntax
    checker when the continuation character ('-') is used in the
    indicator area (column 7) in cases other than where it is
    required to continue a string literal.
    

Problem conclusion

  • The COBOL editor real-time syntax check parser has been changed
    to accept and ignore the hyphen continuation character ('-') in
    the indicator area (column 7), indicating a continued line, in
    cases other than where it is required to continue a string
    literal.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3.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

    PM71380

  • 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

    2012-08-22

  • Closed date

    2012-12-13

  • Last modified date

    2012-12-13

  • 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

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

Document Information

Modified date:
27 October 2020