# Ovm reporting

**URL:** <https://verificationacademy.com/forums/t/ovm-reporting/25709>\
**Category:** OVM\
**Tags:** OVM\
**Created:** [August 6, 2008, 12:10pm UTC](https://verificationacademy.com/forums/t/ovm-reporting/25709 "2008-08-06T12:10:04Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Mandar\_Thete](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@Mandar\_Thete](https://verificationacademy.com/forums/u/Mandar_Thete)\
**Post date:** [February 26, 2013, 4:13am UTC](https://verificationacademy.com/forums/t/ovm-reporting/25709/9 "2013-02-26T04:13:45Z")

</div>

_In reply to [sharan\_basappa](https://verificationacademy.com/forums/t/ovm-reporting/25709/8):_

Hi,

Is there any way by which we can open a file in append mode. I observed that following line opens a file in write mode.  
OVM\_FILE fd = $fopen(“env2.log”); //open log file

code like  
OVM\_FILE fd = $fopen(“env2.log”, “w”); //open log file

doesn’t write anything in the file, in fact gives error.  
Can we control modes n which files are opened? Similar code does work in simple SV environment but not OVM. Is there something I am missing.

Thanks.

---

_[View the full topic](https://verificationacademy.com/forums/t/ovm-reporting/25709)._
