# Dynamic output filename

**URL:** <https://forum.cloverdx.com/t/dynamic-output-filename/690>\
**Category:** CloverDX Platform\
**Created:** [April 5, 2010, 12:00am UTC](https://forum.cloverdx.com/t/dynamic-output-filename/690 "2010-04-05T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkutti](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@mkutti](https://forum.cloverdx.com/u/mkutti)\
**Post date:** [April 5, 2010, 12:00am UTC](https://forum.cloverdx.com/t/dynamic-output-filename/690/1 "2010-04-05T00:00:00Z")

</div>

Hello,

How to specify a dynamic output file in DataWriter component. I see we can use parameter in fileURL. But parameter must be defined before starting the graph. I will get the filename only after starting the graph.

Do I have to use SystemExecute in the next phase to rename the file created to the dynamic value?

Please point me to any sample code for this scenario.

Thanks  
Mano

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [April 6, 2010, 9:47am UTC](https://forum.cloverdx.com/t/dynamic-output-filename/690/2 "2010-04-06T09:47:53Z")

</div>

Hello Mano,  
I think that the easiest way is to use System Execute component when the writing is finished. You can also hack partition feature of Writers. For an example see [CloverETL dynamic output file…](http://forum.cloveretl.org/viewtopic.php?f=4&t=591&sid=5a936877fb129303a6031d0c0dedae2f) topic.
