BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ammarhm
Lapis Lazuli | Level 10

I have been working with SAS now about 2 years. Coming from other softwares like SATA, I loved the flexibility of SAS code, the diversity and the power.

However, many things could be imrpoved, especially when it comes to the way SAS uses/displayes the data variables/table columns.

STATA had a great feature: It displayed the names of the data variables / tables columns headers in a tab so that you dont need to remeber them or get en error when you misspell them. Double clicking the variable name in STATA inserts it into the line code directly, which is very handy

1b.png

This becomes very frustrating in SAS when you are working on multiple projects, each of which might have several tables and tens of variables.

SAS enterprise with its Intellisense/auto-complete, but nevertheless the feature dosent always solve the issue (still needs improving)

I am wondering whether there is a way in SAS to get the variables displayed like STATA or is it a feature that should be requested to make life easier when using SAS?

SAS Studio (online version) dose have this feature by the way... though you cant double click it to insert into code text like STATA

Kind regards

Am

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Suggestions/ideas for improvement should be posted to the ideas section and then other users can comment and vote. 

SAS devs do pay attention to the ideas suggested. 

 

https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas

View solution in original post

3 REPLIES 3
Reeza
Super User

Suggestions/ideas for improvement should be posted to the ideas section and then other users can comment and vote. 

SAS devs do pay attention to the ideas suggested. 

 

https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas

ammarhm
Lapis Lazuli | Level 10

Thanks Reza, Done!

Am

ballardw
Super User

Just in case people find this message instead of the "feature request"

 

In BASE SAS table viewer the column heading can change from label to variable name using the view menu. If you want to change the default behavior make the SAS explorer the active window, go to the tools menu, select options, Explorer. go to the Members tab, select TABLE and then the entry for &Open. Edit the command to look something like:

 

VIEWTABLE %8b."%s".DATA colheading=name

 

I have a number of other options set but this will open tables with the colheading option on.

You will likely want to do the same for VIEWS. Search the online help for VIEWTABLE syntax to find commands that might be useful.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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
  • 810 views
  • 0 likes
  • 3 in conversation