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


Please Help Members By Posting Answers For Below Questions

how could you generate test data with no input data? : Sas programming

620


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2004


Explain input and put function?

643


What function CATX syntax does?

689


how many types prompting framework can be broken down to? : Sas-bi

626






What are the five ways to do a table lookup in sas? : sas-grid-administration

588


how many display types available in sas bi dashboard? : Sas-bi

636


is data integration and etl programming is same? : Sas-di

574


what is broad cast agent? : Sas-bi

593


what does the run statement do? : Sas programming

554


Name and describe few sas character functions that are used for data cleaning in brief.

662


what is hierarchy flattening? : Sas-di

616


why a stop statement is needed for the point= option on a set statement?

623


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

1794


Briefly explain input and put function?

623