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 / sureshkv
data char;
set master;
keep _character_;
run;
data num;
set master;
keep _numeric_;
run;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What commands are used in the case of including or excluding any specific variables in the data set?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what other sas products have you used and consider yourself proficient in using? : Sas programming
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
Have you ever used the SAS Debugger?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What is the work of tranwrd function?
Differences between where and if statement?
What is the length assigned to the target variable by the scan function?
What is the difference between proportion and average?
Which are the statements whose placement in the data step is critical?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
what is metadata? : Sas-bi
What is the basic syntax style in SAS?