IBM Support

PI78127: IN RDZ, COBOL SYNTAX COLORING IS MISSING WITH LPEX VI AND EMACS PROFILES

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.1.1, syntax
    coloring is
    missing when editing a COBOL program in LPEX with vi and emacs
    profiles
    
    Steps to reproduce:
    
    1- create local COBOL project with menu
    File > New > Example > Workstation COBOL > COBOL Sample1
    2- change preference LPEX Editor to profile vi or emacs
    3- edit StartAppl.cbl in LPEX editor
    => Observe the missing coloring and parsing
    
    Following error can be found in client .log file:
    !ENTRY com.ibm.lpex 4 0 2017-03-09 13:38:14.120
    !MESSAGE Uncaught exception in class
    "com.ibm.ftt.language.cobol.lpex.CobolZosSqlCicsParser".
    Document parser was disabled.
    !VIEW C:\workspace1\cobsamp\cobol\StartApp.cbl
    !STACK 0
    java.lang.NullPointerException
    at
    com.ibm.lpex.cobol.CobolParser.defineActions(CobolParser.java:35
    67)
    at
    com.ibm.lpex.cobol.CobolParser.initializeParser(CobolParser.java
    :3414)
    

Local fix

  • It works with ISPF or LPEX profiles
    

Problem summary

  • Syntax coloring is missing when editing a COBOL program in LPEX
    with vi and emacs profiles
    
    
    Steps to reproduce:
    
    1- create local COBOL project with menu
    File > New > Example > Workstation COBOL > COBOL Sample1
    2- change preference LPEX Editor to profile vi or emacs
    3- edit StartAppl.cbl in LPEX editor
    => Observe the missing coloring and parsing
    
    Following error can be found in client .log file:
    !ENTRY com.ibm.lpex 4 0 2017-03-09 13:38:14.120
    !MESSAGE Uncaught exception in class
    "com.ibm.ftt.language.cobol.lpex.CobolZosSqlCicsParser".
    Document parser was disabled.
    !VIEW C:\workspace1\cobsamp\cobol\StartApp.cbl
    !STACK 0
    java.lang.NullPointerException
    at
    com.ibm.lpex.cobol.CobolParser.defineActions(CobolParser.java:35
    67)
    at
    com.ibm.lpex.cobol.CobolParser.initializeParser(CobolParser.java
    :3414)
    

Problem conclusion

  • An exception was being thrown in the profile of the COBOL and
    PL/I parser when LPEX was using certain profiles such as vi and
    emacs. This has been corrected.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.1.1.6 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

    PI78127

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-14

  • Closed date

    2017-10-08

  • Last modified date

    2017-10-08

  • 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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R911 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.1.1

Reference #: PI78127

Modified date: 08 October 2017