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 |
What is the difference between an informat and a format. Name three informats or formats.
Explain the message ‘MERGE HAS ONE OR MORE DATASETS WITH REPEATS OF BY VARIABLE’.
what is function of retain statment
What is factor analysis?
We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B
Hi, I need to create a SAS Map of USA using SAS Graphs(Proc Gmap).The data i have dosent contain any co-ordinates of USA cities or counties or states, and the zip codes are diffrent in the data i have from the zip code in the Maps.US dataset in the Maps Library for SAS MAPS. the data i have is a sales report. i have to generate the maps according to the states,cities aligned in the sales data, HELP Appriciated
What are the statements in proc sql?
for report generation which one you used proc report or data_null_?
3 Answers Accenture, Quintiles,
where to use sas business intelligence? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specfications?
If a variable contains letters or special characters, can it be numeric data type?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?