BookmarkSubscribeRSS Feed
hodgeswc
Calcite | Level 5

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 

3 REPLIES 3
art297
Opal | Level 21

Both can be done most easily using proc import.

 

Art, CEO, AnalystFinder.com

 

Reeza
Super User

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

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

thomp7050
Pyrite | Level 9

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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 23167 views
  • 1 like
  • 4 in conversation