Hi All,
Once again Alteryx is being too smart for its own good on me. I need to write a pipe delimited text file of data. I've got two separate problems doing this, but I'll stick to the first issue.
In this file I must not have fields quoted, and it must have a line terminating pipe delimiter before the carriage return and line feed.
So setting up the Output Data tool for File Format=CSV and Delimiters=|, and Quote Output Fields=Never is no problem. The problem is Alteryx does not end the record line with the delimiter too, and offers no option to specify a line delimiter.
My next attempt was to add the pipe with a formula tool to the end of the last field in each record. If you do this, then Alteryx errors out saying "When Quote Mode is Never, field cannot contain a delimter character". Hey Alteryx maybe I do want to do that, due to your tool limitations, and I don't need you checking my underpants. Usually you don't and I have to be super careful.
I tried changing it to "Auto" and of course then certain fields including that one did get double quoted as isn't acceptable for the tool that will take this file as an input.
I've run out of ideas besides using the Python tool to write all the data raw, which I can do, but is yet another tool to write some code and debug. Are there any other options I haven't found on the forums or thought of yet?
Thanks.