Write and run SAS programs in your web browser

convert csv to sas7bdat

Reply
New Contributor
Posts: 3

convert csv to sas7bdat

Hello, 

 

I was wondering how I can convert a csv file into sas as a sas7bdat file. Or, if easier, an xls file into sas as a sas7bdat file. 

 

Thanks 

PROC Star
Posts: 7,431

Re: convert csv to sas7bdat

Both can be done most easily using proc import.

 

Art, CEO, AnalystFinder.com

 

Super User
Posts: 19,057

Re: convert csv to sas7bdat

CSV is easier, please see the videos here that illustrate how to accomplish most basic tasks:

http://support.sas.com/training/tutorial/

Frequent Contributor
Posts: 93

Re: convert csv to sas7bdat

For my part, I would recommend that you file...import data, and follow the wizard's instructions.  Once the wizard has completed, it will output the infile code that you may use to import your dataset.  Copy the code, and paste it into the editor.  Modify it as needed, and save it for future use.

 

Patrick

Ask a Question
Discussion stats
  • 3 replies
  • 949 views
  • 1 like
  • 4 in conversation