Give an example where SAS fails to convert character value to numeric value automatically?
Answer / Priyanshu Varshney
In the following example, SAS fails to convert a character value 'apple' to a numeric value because of different data types:
```
data example;
input fruit $;
if fruit = '5';
then x = 1;
run;
```
| Is This Answer Correct ? | 0 Yes | 0 No |
what is sas? is a package or tool? give me introduction about sas?
what are the validation tools in sas?
what is conditional processing?
i have a dataset with var1,var2,var3; i want to upload the titles for the variables . How can we?
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
is QUALCOMM using SAS ?
Where do the database management systems store data and how do u import them.
How to find out no. of business days in a month using macros.???(excluding weekends and holidays).
how do we mail reports from SAS environment to our team leader
what is broad cast agent? : Sas-bi
Name and describe three SAS functions that you have used, if any?
what is the use of LRECL option.