Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

adding a header to a file

is it possible to add a header to an tFileOutputDelimited from a tMap, so that it appears at the top of the file only once and the rest of the rows are just appended on?
Labels (3)
11 Replies
_AnonymousUser
Specialist III
Specialist III
Author

hi briansms, that sounds like a good idea, will row generater let me add any piece of text that i want to the file? if so can i run the two jobs parrallel then or does it really matter? cos obviouslly i need to add the row ( with the hardcoded string) first before i append the output from the tMap to the file.

my job currently looks like this:
fileInput -> tMap -> fileOutputDelimited
but i assume i need to run something like:
fileInput -> tMap -> fileOutputDelimited
rowGenerator -> fileOutputDelimited
briansms
Contributor
Contributor

Hi Indigo,
I haven't tried it yet myself, but since you want the text to appear at the top, I'd think you'd have to do something like this:
rowGenerator -> fileOutputDelimited
|
|
OnSubjobOk
|
|
fileInput -> tMap -> fileOutputDelimited

I'll be gone a few days, so won't be able to try it myself until next week.
- Brian