Hi, I have a requirement to generate a | delimited file. The final delimter of the record also should be |. I specified the First line is column header to true. I set the record level final delimiter to |. I set the Field level delimiter to |. I am getting everything properly except the final delimiter of the header record. The header record does not have the final delimiter. Is there a way to get the final delimiter on the header record?
Thanks
final delimiter for header record.
Moderators: chulett, rschirm, roy
Re: final delimiter for header record.
I think you should also be setting Record delimiter property.ds_user78 wrote:Hi, I have a requirement to generate a | delimited file. The final delimter of the record also should be |. I specified the First line is column header to true. I set the record level final delimiter to |. I set the Field level delimiter to |. I am getting everything properly except the final delimiter of the header record. The header record does not have the final delimiter. Is there a way to get the final delimiter on the header record?
Thanks
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not easily. You could echo the header to the file in a before-job subroutine and then set "header row" to False in the stage, which would then need to Append to the file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.