IBM Support

PM75292: Syntax-checker does not tolerate a missing END PACKAGE statement while compiler does

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Headline/Abstract
    ***************************************************************
    Rational Developer for System z - Syntax-checker does not
    tolerate a missing END PACKAGE statement while compiler does.
    
    APAR Error Description
    ***************************************************************
    Rational Developer for System z - RDz - v8.0.3.3
    
    The PL/I compiler is tolerant of not including end statements.
    The PL/I real-time syntax check parser does not currently
    tolerate the missing END PACKAGE statement.
    ***************************************************************
    Re-creation steps
    
    *Process LIMITS(EXTNAME(31));
      /* Testcase PACKAGE */
      TSTPKG:PACKAGE EXPORTS(TSTPROC, FLEX_GET_KEY, FLEX_SET_KEY);
    
      TSTPROC: PROC;
      END TSTPROC;
    
      FLEX_GET_KEY: PROC;
      END FLEX_GET_KEY;
    
      FLEX_SET_KEY: PROC;
      END FLEX_SET_KEY;
    
    In the above example, the last line is flagged with error
    ''ERROR TOKEN' - unexpected token(s) ignored'. Adding the
    END PACKAGE statement will remove the error.
    ***************************************************************
    Local fix:
    None
    ***************************************************************
    

Local fix

Problem summary

  • ****************************************************************
    *
    USERS AFFECTED:
        RD/z users who edit PL/I programs when there are no end
    statements for PL/I packages.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
       RD/z reported warnings when editing PL/I programs where a
    PL/I package had no corresponding end statement.
    

Problem conclusion

  • ************************************************************
    PROBLEM RESOLUTION:
    RD/z does not display warnings in the editors when a PL/I
    program is edited and there is a PL/I package without a
    corresponding end statement.
    
    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

    PM75292

  • 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-10-18

  • 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:
13 December 2012