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 |
tell me about use of arrays in sas
what is study design in while working with SAS? what are screening variables in SAS?
what is the difference between sas and other datawarehousing languages?what are the advantages of sas over them?
describe about joins? briefly?
how can you sort the dataset having millions of OBS(instead of sort procedure?
How do you add a number to a macro variable? : sas-macro
how does sas handle missing values in sort order? : Sas programming
What are the data types does SAS contain?
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.
how to delete the duplicate columns permanently in SQL
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
One way of creating a new variable in Macros is by % Let....What is the other way..?