Hi,
When I open any SAS dataset I see column/variable label by default.
I would like to see by default variable/column names instead of lables of these variables.
Is there any way/option for this?
Please help.
If you are looking at this in Base SAS you should have gotten to an Edit Action box that already has the Action as &Open in the first line that cannot be edited and the second line under Action Command that likely has the default value of: VIEWTABL %8B."%S".DATA
If you do see those two boxes than type the instruction AFTER the word DATA.
If not you are somewhere else in the system. Did you click on the Action &Open in the TABLE Options dialogue box?
Hi,
there is an option to do that since SAS 9.2.
options nolabel;
Hope this helps you.
In Base SAS:
Make SAS Explorer the active Window
From the menu bar select Tools>Options>Explorer
Go to the Members Tab and double click on Table
Select the &Open entry and click
Add the text: colheading=name
to the action command.
Close out of everything using the appropriate buttons.
If you are looking at this in Base SAS you should have gotten to an Edit Action box that already has the Action as &Open in the first line that cannot be edited and the second line under Action Command that likely has the default value of: VIEWTABL %8B."%S".DATA
If you do see those two boxes than type the instruction AFTER the word DATA.
If not you are somewhere else in the system. Did you click on the Action &Open in the TABLE Options dialogue box?
Hello,
I have this option set to view column names. If I open a data by navigating there with SAS explorer using a shortcut to the actual directory, and click on it, I see the labels in VIEWTABLE. If I navigate to the same directory using the SAS library, I see the variable names. Very weird. Can it be changed so that I can see the variable names at all times?
Thanks.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: