BookmarkSubscribeRSS Feed
amahamud77
Calcite | Level 5

Hello all,

I've a file that ends .tab and I would like to import to sas data set. The file contains 5 colums and the last column contents are too wide. Your help is appreciated!

I'm thinking to use

proc import but I've not used .tab data for SAS interactive

3 REPLIES 3
ballardw
Super User

How do you know the last column is "too wide"? Is it longer than 32767 characters?

If this is going to be a recurring activity I would suggest going through the data import wizard (File>Import Data). You should see "Tab delimited file" as an option. Go through the whole process. The log will contain datastep code that you can copy into the editor and modify to customize how the data fields are defined for use in the future.

amahamud77
Calcite | Level 5

I think that column is less than 32767 characters. Not sure if I've data wizard tool in my machine. I'm using excel 2010

ballardw
Super User

Start SAS. Go the to File tab and click, look for the Import Data menu item and click. That's the import wizard.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 780 views
  • 0 likes
  • 2 in conversation