Forum Discussion
5 Replies
- tstackFormer Employee
Can you give a concrete example of what you’re trying to do? Do you have a FileReader snap that is reading the text file and then you want to add the header and trailer around the stream? For example, if the text file contained:
Hello, World!
You want the output to look like the following:
BEGIN Header
Hello, World!
END TrailerHow big is the file?
- spunyalaNew Contributor
File may have around 11 k records…
- spunyalaNew Contributor
Hi ,
I am reading the data into text file from Successfactors and writing to the server.
So i need to write the data as below.
H(Header) which contains xxxx|yyyy|current date
Data records …
T(Tail record) which contains xxxx|total data records countThanks,
- spunyalaNew Contributor
Reading the data from file reader, doing some data conversions, using CSV formatter and writing it to the file with file writer