# Replacing FIXLEN\_DATA\_WRITER

**URL:** <https://forum.cloverdx.com/t/replacing-fixlen-data-writer/1493>\
**Category:** CloverDX Platform\
**Created:** [October 21, 2014, 12:00am UTC](https://forum.cloverdx.com/t/replacing-fixlen-data-writer/1493 "2014-10-21T00:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anweston](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anweston](https://forum.cloverdx.com/u/anweston)\
**Post date:** [October 21, 2014, 12:00am UTC](https://forum.cloverdx.com/t/replacing-fixlen-data-writer/1493/1 "2014-10-21T00:00:00Z")

</div>

Heya,

We have a set of graphs that use the old FIXLEN\_DATA\_WRITER, which I understand is decprecated. We managed to replace our DELIMITED\_DATA\_WRITER nodes with DATA\_WRITER, but I am unsure if we can do the same for FIXLEN\_DATA\_WRITER becuase I cannot see a way to set leftAlign to false (which is our default). For example, our graph has

```auto

<Node id="OUTPUT_0" type="FIXLEN_DATA_WRITER" fileURL="/home/user/out.txt" fieldFiller=" " leftAlign="false" />

```

Can you tell me if/where I can set that attribute? It doesn’t seem to be shifted to the metadata, but it is not an attribute of the UniversalDataWriter from what I can see. I can see the attribute buried in the java code in the formatter classes…

Thanks,  
Anna

---

<div class="post-metadata">

**Author:** ![anweston](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anweston](https://forum.cloverdx.com/u/anweston)\
**Post date:** [October 29, 2014, 2:37pm UTC](https://forum.cloverdx.com/t/replacing-fixlen-data-writer/1493/2 "2014-10-29T14:37:03Z")

</div>

Heya,

I am checking in to see if there’s any reponse to my query? Any pointers to resources where I can find an answer?

Thanks,  
Anna

---

<div class="post-metadata">

**Author:** ![imriskal](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@imriskal](https://forum.cloverdx.com/u/imriskal)\
**Post date:** [October 31, 2014, 2:20pm UTC](https://forum.cloverdx.com/t/replacing-fixlen-data-writer/1493/3 "2014-10-31T14:20:02Z")

</div>

Hi Anna,

This is unfortunately not possible at the moment. In some cases, you can use Reformat with CTL function **lpad**.  
[http://doc.cloveretl.com/documentation/ … #ctl2-lpad](http://doc.cloveretl.com/documentation/UserGuide/topic/com.cloveretl.gui.docs/docs/string-functions-ctl2.html#ctl2-lpad)

To be able to do this in any situation, I have raised the following issue in our bug tracker:  
[https://bug.javlin.eu/browse/CLO-5195](https://bug.javlin.eu/browse/CLO-5195)

I hope this helps.
