data jagan1.s;
input bp$;
cards;
100/90
120/89
112/87
run;
in the above code how to convert character data values to numeric data values?
Answers were Sorted based on User's Feedback
Answer / aaaa
data jagan1.s;
infile cards dlm='/' dsd;
input b p;
cards;
100/90
120/89
112/87
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Using input function
data jaganl.1;
input bp$;
a=input(bp);
cards;
100/90
120/89
112/87
;
run;
| Is This Answer Correct ? | 1 Yes | 9 No |
what are the sites did u refer for enquiries and doubts for SAS
Where do you use proc means over proc freq?
What is Transaction...? And what are Comment, Roll back n Save point..?
what kind of variables are collected in AE dataset?
3 Answers Accenture, Quintiles, SAS,
In which format does Date stores in sas..? What is the use of DATE in SAS.?
What is the pound sign used for in the data_null_ ?
How many ways to overcome a missing values???
If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
Difference b/n proc means and proc summary procedures?
List down the reasons for choosing sas over other data analytics tools.
i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?
Explain data step in SAS