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
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
Explain what is SAS informats?
which date functions advances a date time or date/time value by a given interval? : Sas programming
what are validation tools that are used in sas? : Sas-administrator
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Mention the validation tools used in SAS?
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
What is SAS informats?
Explain how you can debug and test your SAS program?
how would you create multiple observations from a single observation? : Sas programming
Explain the use of proc gplot? : sas-grid-administration
Name few SAS functions?
How to sort in descending order?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
Did you used proc test? when?