IBM Support

PM88967: RDz code coverage gives incorrect execution status for PLI with ON ENDFILE

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) version 8.5.1.1,
    running with code coverage a PL/I program containing 'ON
    ENDFILE' statements results in incorrect execution status:
    
    - call to procedure is shown in red (call sayHello;) while
    procedure code is shown in green  (sayHello: PROC;)
    - open/read statements are shown in red while they have
    been executed
    
    For example with:
        eol=no;
    
        on endfile (fdesc)
        begin;
            eol = yes;
        end;
    
        open file  (fdesc) title ('DSN(USER182.MYFILE),SHR');
        read file (fdesc) into (rec);
    
        do WHILE( eol = no)  ;
           CALL sayHello;
           read file (fdesc) into (rec);
       end;
    
       close file (fdesc);
    
       sayHello:proc();
            Display('Hello World');
       end;
    
    Local fix:
    There is no known workaround at this time.
    

Local fix

Problem summary

  • See error description.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM88967

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-14

  • Closed date

    2013-10-16

  • Last modified date

    2013-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

  • R850 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PM88967

Modified date: 16 October 2013