I'm needing help producing a sequential file that will append a \n at the end of every row (except the last one) and the last row end with an EOF character that is used in Linux.
Is there a painless way to do this? Is there a setting within the sequential file stage that would do this without concatenating the '\n' to the end of my last column in the transform. How would I append the final EOF character after the last row?
Thanks,
Greg
Sequential File Output Format
Moderators: chulett, rschirm, roy
So, build it on a Windows server for eventual consumption by Linux? You shouldn't have to do anything special, just tick the Line Termination option for 'UNIX Style' and then if you don't want one on the last line enable the 'Omit last new-line' option as well. Shouldn't be any more difficult than that, I would think.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Right, they didn't want the physical characters "slash n" but rather what that stands for - a 'newline'. And it means different things on different systems as you've just found: for UNIX a LF, for DOS a CR/LF pair, etc.
Perhaps a little much, but a Wiki on the subject:
http://en.wikipedia.org/wiki/Newline
Perhaps a little much, but a Wiki on the subject:
http://en.wikipedia.org/wiki/Newline
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers