BookmarkSubscribeRSS Feed
PoulRavn
Obsidian | Level 7

Hi, something that has annoyed me for some time, - I finally get to ask the question:

 

When working in SAS EG (6.1) and a dataset is created and OPENED (often manually by me) the width of the data columns seems to always be default. I often have several variables, dislayed as colums, that are integers between for instance 1 and 99. I would like the width of the displayed column to retain this format so that many more columns can be shown. 

 

So, if this is possible, a hint would be greatly appreciated.

 

Regards

Poul R S

2 REPLIES 2
tessa_h
Fluorite | Level 6

Hi there,

 

I'm using SAS EG 7.1 so I am unsure if my suggestion will be useful...

 

After you load your data set, use the import wizard to modify. Select the field you want to change and click modify. Once in there, you should be able to change the length of your field...make sure to change the number in your source informat.

 

Hope that helps!

 

-T

LinusH
Tourmaline | Level 20
@tessa_h, I think that @PoulRavn is talking about the layout in the view data window, not the variable lengths and formats on the data set.
And, unfortunately I haven't seen such a feature yet. One would wish for something similar to the old good wsave in DMS SAS...
Data never sleeps

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 3415 views
  • 1 like
  • 3 in conversation