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 is fact table and factless table?
Please write codes to merge two datasets and keep every record in the first dataset.
How to include or exclude specific variables in a data set?
What is difference between sas rename and lable?
Of all your work, where have you been the most successful?
how do you want missing values handled? : Sas programming
how to remove the duplicates by proc sql?
What is shift table? have you ever created shift that?
2 Answers Accenture, Clinical Research, Quintiles,
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.