# Flatfile is not getting aligned properly

**URL:** <https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [March 10, 2010, 11:15am UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060 "2010-03-10T11:15:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [March 10, 2010, 11:15am UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060/1 "2010-03-10T11:15:11Z")

</div>

Hi all,

When I’m storing a flatfile on a local drive. After that when I open it. It is not aligned properly. What might be the issue…Please help.

Regards,  
David

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 11, 2010, 9:12am UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060/2 "2010-03-11T09:12:23Z")

</div>

Did you check pipeline string before writing file to disk the format etc…? ie after pub.flatfile:convertToString step output.Is the o/p matching per the FFSchema definition?

Can you elaborate flow steps in place?

HTH,  
RMg

---

<div class="post-metadata">

**Author:** ![rgiduthuri.38140](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@rgiduthuri.38140](https://techcommunity.softwareag.com/u/rgiduthuri.38140)\
**Post date:** [March 15, 2010, 2:59pm UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060/3 "2010-03-15T14:59:00Z")

</div>

Add \n to ‘delimiters/record’ field of pub.flatfile:convertToString service and try…

Thanks  
Ravi

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [March 16, 2010, 2:42am UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060/4 "2010-03-16T02:42:19Z")

</div>

First check the FFSchemaDefinition regarding delimiters and if not explicitly set in the delimiters record,field of convertToString as mentioned above

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:06pm UTC](https://techcommunity.softwareag.com/t/flatfile-is-not-getting-aligned-properly/110060/5 "2021-04-02T15:06:00Z")

</div>

Closed on April 2, 2021, 3:06pm UTC


