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 |
If money were no object, what would you like to do?
What are the advantages of using sas?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
What function CATX syntax does?
How does the internal authentication work in sas? : sas-grid-administration
what is Business Intelligence?
If you were told to create many records from one record show how you would do this using arrays and with PROC TRANSPOSE?
what is the difference between sas and other datawarehousing languages?what are the advantages of sas over them?
What is SAS?
what is the difference between %put and symbolgen?
what the use of proc glm
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;