Help using Base SAS procedures

Changing the SAS user interface?

Reply
New Contributor
Posts: 4

Changing the SAS user interface?

Hi

Anyone knows how to change the user interface in SAS 9.2?

1) When opening a data set I would like for "Column names" and not "Column Labels" to show as default.

2) In the explorer when viewing data sets I would like the default setting to be "Name | Size | Modified" and not "Name | Size | Type | Description | Modified"

3) In the explorer when viewing libraries I would like the default setting to be small icons in a column to the left and details to the right (same as pressing the "Toggle details" button once)

Hope the above makes sense

Kind regards,

Niels

Super User
Posts: 10,023

Re: Changing the SAS user interface?

Are you using EG or single sas in local PC?

options nolabel ;

can suppress label of variable, you can use explore to change the default system option.

About data sets property ,maybe you need to change register of SAS by useing explorer,i am not familiar.

About 'small icons' check out view menu ,there are several way to display the content of library.

Ksharp

New Contributor
Posts: 4

Re: Changing the SAS user interface?

Thanks for the reply.

Im not using EG, so single SAS (I think - we call it basis SAS) on a local PC.

I would like the labels suppressed without having to run code - it should be as default when I start SAS.

Regarding my question nr 2) I got the columns reordered which SAS remembers by going "view -> reorder columns", but the width of the columns is reset. Also small icons is reset at each SAS startup.

Another related question:

4) I know it is possible to hot key a command that allows you to view last created data set, but how?

/Niels

Super User
Super User
Posts: 7,039

Changing the SAS user interface?

Are you clicking on icons in the "explorer" window to browse the datasets?

If so then you can get to the settings for Explorer from Tools -> Options -> Explorer from the menu bar.  The explorer window must be active for this menu item to appear.  There are many items.  You can even create your own commands that will be available when you right click on a file icon.

Look at the KEYS function to create your own hot keys.

You can reference the last created dataset with the macro variable SYSLAST.

I usually avoid mice and type the commands on the command line.  So you can type the command:

viewtable &syslast

or

fsbrowse &syslast

Super User
Posts: 11,343

Changing the SAS user interface?

Another related question:

4) I know it is possible to hot key a command that allows you to view last created data set, but how?



Go to the KEYS window, probably by pressing the F9 key.

Pick an unused key combination and type (paste doesn't work in the Keys window):

vt _last_ openmode=edit colheading=name

The openmode will allow sorting or direct edits (not recommended most times) if you don't want that don't include it.

Ask a Question
Discussion stats
  • 4 replies
  • 278 views
  • 4 likes
  • 4 in conversation