BookmarkSubscribeRSS Feed
4john
Calcite | Level 5
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.
1 REPLY 1
ArtC
Rhodochrosite | Level 12
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).

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1210 views
  • 0 likes
  • 2 in conversation