IBM Support

PM55603: Editing a PL/I file with statement call struc.myProc results in an invalid error 'misplaced construct'.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Headline:
    Editing a PL/I file with statement call struc.myProc results in
    an invalid error 'misplaced construct'.
    
    APAR Error Description:
    Abstract: In Rational Developer for System Z version 8.0.3,
    editing a PL/I file with statement call struc.myProc results in
    an invalid error 'misplaced construct'.
    Problem: To recreate the problem:
    
    1)  Create a PL1 File ? New ? Project ? Examples ? Workstation
    PL/I ? PLI Sample 1
    2) Modify HelloApp.pli as follow:
    
     helloapp: proc() options(main);
    
     define structure
         1 struc,
          3 myProc           entry;
     dcl yy type struc;
     yy.myProc=sayhello;
     Display('start ');
     call yy.myProc();
    
     end helloapp;
    
     sayhello: proc();
        Display('Hello ');
     end sayhello;
    
    3) note the realtime check error at line call yy.myProc()
    4) Build and execute it: no error
    
    Local fix:
    The error can be safely ignored
    

Local fix

Problem summary

  • USERS AFFECTED:
    RD/z users who use RD/z to edit PL/I programs with call
    statements that refer to entry variables in structures.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
    RD/z reported call statements that reference entry variables
    within structures in PL/I programs with warning annotations,
    even though the syntax was correct, when the program was edited.
    

Problem conclusion

  • RD/z correctly handles call statements that refer to entry
    variables in structures in PL/I programs when they are edited.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3.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

    PM55603

  • 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-01-09

  • Closed date

    2012-03-29

  • Last modified date

    2012-03-29

  • 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



Document information

More support for: Rational Developer for System z

Software version: 8.0.3

Reference #: PM55603

Modified date: 29 March 2012