IBM Support

PI40047: RATIONAL DEVELOPER FOR SYSTEM Z (RDZ) REAL-TIME SYNTAX CHECK GIVES AN INCORRECT ERROR ";" EXPECTED INSTEAD OF THIS INPUT

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.1, Real-time
    syntax check gives an incorrect error -";" expected instead of
    this input- on include
    files which include other include files.
    
    For example:
    
    *) main program:
    
    hello1: proc() options(main);
    %include PROC1;
       call say('Hello PLI world !');
    end hello1;
    
    
    *) proc1.inc:
    
    %include PROC2;
    say: proc(msg1);
        Dcl msg1 char(50) varying;
        Display(msg1);
    end say;
    
    *) proc2.inc:
    
    say2: proc(msg1);
        Dcl msg1 char(50) varying;
        Display(msg1);
    end say2;
    
    Error is raised on the last line of proc1.inc
    ";" expected instead of this input
    
    If the line %include PROC2; is removed then no more errors are
    found.
    

Local fix

  • There is no known workaround at this time.
    

Problem summary

  • In Rational Developer for System z - RDz - v9.1.1.1, Real-time
    syntax check gives an incorrect error ";" expected instead of
    this input on include files which include other include files.
    

Problem conclusion

  • Modified RDz parser code to correctly compute token indexes when
    nested includes are involved.
    
    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

    PI40047

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-29

  • 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.1

Reference #: PI40047

Modified date: 16 October 2015