BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
robertrao
Quartz | Level 8

Hi Team,

I have a dataset with several variables and i want to hide and unhide variables..Howw can I do that on the SAS screen.

Also How can i save the log???

procprinto???

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
shivas
Pyrite | Level 9

Hi ,

Select the column and go to data->hide/unhide

you can also do this in SAS EG

  1. Select Data -> Rows or Columns -> Hide.

Yes you can use proc printto to save the sas log.

Thanks,

Shiva

View solution in original post

5 REPLIES 5
shivas
Pyrite | Level 9

Hi ,

Select the column and go to data->hide/unhide

you can also do this in SAS EG

  1. Select Data -> Rows or Columns -> Hide.

Yes you can use proc printto to save the sas log.

Thanks,

Shiva

robertrao
Quartz | Level 8

Hi,

Thanks a lot.

Could you give me an example to use Proc printo???

Regards

Doc_Duke
Rhodochrosite | Level 12

There are several examples of using PROC PRINTTO in the documentation.

robertrao
Quartz | Level 8

Great. I shall look it up

Regards

Ksharp
Super User

You can create a view to hide or unhide some columns.

Once creating this view and double click it or print it ,you will see the change.

data class/view=class;
 set sashelp.class(keep=name sex );
run;

Ksharp

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 5 replies
  • 1885 views
  • 3 likes
  • 4 in conversation