IBM Support

PH04570: Log action fails to write to a file but gives no error

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • The Log action can fail to write to a file but not report it
    back to the test or stub.
    
    The JVM console reports this:
    
    java.io.FileNotFoundException: C:\temp\myfile.csv (The process
    cannot access the file because it is being used by another
    process.)
    
    STEPS TO REPRODUCE:
    
    1. Create an empty file named myfile.csv
    
    2. Open the file in Excel
    
    3. Execute a test containing a Log action to write to the file
    
    EXPECTED RESULTS:
    
    The test should fail and output an error
    
    ACTUAL RESULTS:
    
    The test continues without error
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Rational Integration Tester using the log action to *
    * write to files.                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a file is unaccessable then this error is not reported to *
    * the user though the test action.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in release 9.2.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH04570

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    921

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-26

  • Closed date

    2019-01-02

  • Last modified date

    2019-01-02

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels



Document information

More support for: Rational Test Workbench

Software version: 921

Reference #: PH04570

Modified date: 02 January 2019