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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Swiip
Contributor
Contributor

To create a file with rows of 400 characters

Hello

I have to generate a file with 6 columns of data. But they want a size of row of 400 characters. How to do this ? How to add spaces ? There is a parameter in the tFileOutputdelimited ? Or i have to use an other component ?

Thank you very much for your help.

Best regards

Labels (3)
1 Solution

Accepted Solutions
gjeremy1617088143

And a row can be a field :

you write your file as csv. You read it again with a none comon field delimiter like « £€£ » for example you set one field in the schema, then you write it on tfileoutputpositional with the lenght you want.

View solution in original post

4 Replies
gjeremy1617088143

Hi maybe you coud look at tFileOutputPositional.

In tFileOutputPositional you could set lenght of the field, the padding char and alignement of the value

Send me Love and Kudos

Swiip
Contributor
Contributor
Author

Length of the field but i want 400 for the length of the row and not the field.

gjeremy1617088143

And a row can be a field :

you write your file as csv. You read it again with a none comon field delimiter like « £€£ » for example you set one field in the schema, then you write it on tfileoutputpositional with the lenght you want.

Swiip
Contributor
Contributor
Author

Thank you very much. It's ok with this solution.