Hi im new to sas. I have a file with some charecter variables and some numeric variables
now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know
Thanks
Answers were Sorted based on User's Feedback
data a;
infile "C:Documents and SettingssasadmDesktopSASMacro est1.txt" firstobs=2;
input num1 num2 num3 c1$ c2$ num4 c3$;
run;
data b;
set a;
keep _numeric_;
run;
data c;
set a;
keep _character_;
run;
Is This Answer Correct ? | 1 Yes | 0 No |
How to merge the data using merge statement and proc format? Is the result is same ?
How to get top scorer student from a class-table having different sections A,B, C & D? Each section having same number of students.
Mention how to limit decimal places for the variable using proc means?
how does sas handle missing values in a merge? : Sas programming
What is SAS? is it a software just for use or we can creat something over there?
Which is the best training Institute for SAS Business Intelligence course?
Explain why double trailing @@ is used in input statement?
describe the interaction table in sas di? : Sas-di
is there any difference between proc summary and proc means?
how to know the attributes of first five datasets in a library
explain what is data set in sas? : Sas-administrator
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?