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 |
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Explain proc univariate?
what is OLAP?
Define run-group processing?
Enlist the syntax rules followed in sas statements.
explain the key concept of sas? : Sas-administrator
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
For what purpose(s) would use the RETURN statement?
what is SAS ACCESS AND SAS CONNECT ? Give an example and data statements used.
What are the differences between proc means and proc summary?
What is the basic structure of the SAS base program?
The below code we are using for creating more than one macro variables in proc sql using into clause. How we can use same code to create macro variables vara, varb, varc instead of var1, var2, var3.? proc sql noprint; select count(distinct(patient)) into :var1 - :var3 from dataset1 group by trtreg1c ; quit;