i have a null dataset with 10 variables; i want to print only
name of the varibales in log window and also output window.how
can we do this one?
Answer Posted / sasuser
Hi Guys,
Following is the solution:
data _null_;
set sashelp.vcolumn ;
where libname='SASHELP' and memname='CLASS';
file print;
putlog Name @@;
put Name @@;
run;
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How you can read the variables that you need?
What does the RUN statement do?
what are some good sas programming practices for processing very large data sets? : Sas programming
explain the concepts and capabilities of business object? : Sas-bi
What are the different types of sas functions?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
describe the interaction table in sas di? : Sas-di
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
what is the basic structure sas administrator? : Sas-administrator
what is star schema? : Sas-di
How do dates work in SAS data?
What is the difference between class statement and by statement in proc means?
What is the maximum length of the macro variable?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration