IBM Support

PM56359: RDZ 8031 PLI Real Time Syntax check marks correct free parm in error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Create a pl1 program with the following source :
    
     dcl (nodePtr) pointer,
    
         1 dataNodeType based(nodePtr),
    
            3 areal char(100);
    
     dcl LinkListHeadPtr pointer;
    
     dcl 1 myLinkedList based(LinkListHeadPtr),
    
          3 next ptr,
    
          3 dataNode ptr;
    
    
    
     allocate myLinkedList;
    
     LinkListHeadPtr-?myLinkedList.next = null();
    
     allocate dataNodeType;
    
     LinkListHeadPtr-?myLinkedList.dataNode = nodePtr;
    
     free LinkListHeadPtr-?myLinkedList.dataNode-?dataNodeType;
    
     free LinkListHeadPtr-?myLinkedList;
    
    
    
    Notice that the first 'free' statement is marked with an error
    while second is not.  Both are valid and accepted by local
    syntax check and compilers.  This can be reproduced with a local
    PLI source file.
    

Local fix

Problem summary

  • USERS AFFECTED:
    RD/z users who use RD/z to edit PL/I programs with free
    statements with complicated pointer expressions.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
    RD/z reported free statements with complicated pointer
    expressions in PL/I programs with warning annotations, even
    though the syntax was correct, when the program was edited.
    

Problem conclusion

  • RD/z correctly handles free statements with complicated pointer
    expressions 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

    PM56359

  • 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-19

  • 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

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"803","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
28 October 2021