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

What can you learn from the SAS log when debugging?

1150


What are common programming errors committed in sas

924


Differentiate between format and informat? : sas-grid-administration

825


What is the difference between reading data from an external file and reading data from an existing data set?

942


explain about data integrator metadata reports? : Sas-di

845


what is study design in while working with SAS? what are screening variables in SAS?

1939


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)?

1483


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1013


How to convert a numeric variable to a character variable?

896


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1055


Name some categories in sas 9? : sas-grid-administration

763


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

921


what is ae onset date n what is RDS

2168


for what purpose would you use the retain statement? : Sas programming

844


what are some good sas programming practices for processing very large data sets? : Sas programming

731