Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Solved Footer for a file?

More
16 Jul 2015 16:19 #1 by Francois BAILLY
Francois BAILLY created the topic: Footer for a file?
Hi,

Is it possible to make a footer in generated file?

I have a mappings file to file which start with an input positional file to create an ouput hierarchical file. (I use a stage to select lines which i will use for generated my hierarchical file, that why I have 5 mappings which generate 5 hierarchical file with the same input positional file)

I want just a empty line for last line of my generated hirarchical file. Is it possible with stambia designer to define that ? i didn't find option which let me do this.
I can do a union and add a last empty line but i want to do it cleanly.

Thanks for your time and sorry for my english.

Regards, François Bailly.
More
16 Jul 2015 17:35 #2 by Thomas BLETON
Thomas BLETON replied the topic: Footer for a file?
Hello,
Maybe you can add an action "Write a File" which writes the empty line after the mapping is executed ?
More
16 Jul 2015 17:38 - 16 Jul 2015 18:00 #3 by Francois BAILLY
Francois BAILLY replied the topic: Footer for a file?
There is no way to create a footer as same as we can create a header for a file ?

I tried to use a "write txt file" with append mode to add this empty line but it didn't work
Last Edit: 16 Jul 2015 18:00 by Francois BAILLY.
More
17 Jul 2015 11:52 #4 by Thomas BLETON
Thomas BLETON replied the topic: Footer for a file?
Your file is a hierarchical file.
Maybe you can create a last record "FOOTER" in the metadata ?
More
21 Jul 2015 10:47 #5 by Francois BAILLY
Francois BAILLY replied the topic: Footer for a file?
Yes, I add a last record "footer" and it's work for me.