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
Answer Posted / chaudhary_1989
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 |
Post New Answer View All Answers
What is the work of tranwrd function?
Describe crosslist option in tables statement?
Mention few capabilities of sas framework.
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
What is SAS? What are the functions does it performs?
What does proc print, and proc contents are used for?
What are the ways to do a “table lookup” in sas?
how do you pull data from equifax?tell me the process?
What are the features of SAS?
How do you test for missing values?
Tell me about % include and % eval? : sas-macro
what is enterprise guide? What is the use of it? : Sas programming
What is a pdv and what are its functions?
What was the last computer book you purchased? Why?
What is the good sas programming practices for processing large data sets?