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 |
Where do you use proc means over proc freq?
i want to upload titles and footnotes to excel file?how it is possible?
what is the difference between sas and other datawarehousing languages?what are the advantages of sas over them?
Give some examples where proc report’s defaults are same as proc print’s defaults?
what is the main difference between rename and label? (don't say that they both perform the same function).
What is _n_?
What SAS statements would you code to read an external raw data file to a DATA step?
how to rearrange the data as our wish by using dataset block?
Mention some common errors that are usually committed in sas programming.
Explain proc univariate?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
Mention what is PROC in SAS?