Help using Base SAS procedures


Occasional Contributor
Posts: 16


I am using %sysexec with dos2unix to convert a .csv file created in PC format to an Unix file format.
How can I convert multiple PC files into Unix file format using these same commands?(other solutions are welcome too)

Thanks in advance.
Valued Guide
Posts: 653

Re: %sysexec

Since you are already using a macro language element (%SYSEXEC), you could wrap it in a macro loop to execute across a list of files. There are several ways to do this depending on how comfortable you are with the macro language (there are even non-macro solutions). There have been a number of forum threads on list processing and there are a number of papers on the topic as well (Ron Fehd has several).
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation