Hi Linnea
I had that same idea several times over the years, but it was not implemented as a CARLa function. You can, of course, enter an RFE to add this to the wish list.
Be sure to point out that a NEWLIST HEADER=CSVT parameter should automatically set the filetype to CSV, etc. Do you also want/need to control the value before the dot (filename part)?
------------------------------
Rob van Hoboken
------------------------------