adspace


Give an example where SAS fails to convert character value to numeric value automatically?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2132


Hi, If anyone has base SAS certification dumps, please share.

1951


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3675


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

2161


how to generate the test data in sas without input data? : Sas-administrator

1213


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

2323


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2185


Are you involved in writing the inferential analysis plan? Tables specifications?

4027