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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 1190 views
  • 0 likes
  • 2 in conversation