What is the result?

The following SAS program is submitted:


What is the result?
A. The value of the variable Discount in the output data set is 2000. No messages are written to the SAS log.
B. The value of the variable Discount in the output data set is 2000. A note that conversion has taken place is written to the SAS log.
C. The value of the variable Discount in the output data set is missing. A note in the SAS log refers to invalid numeric data.
D. The variable Discount in the output data set is set to zero. No messages are written to the SAS log.

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “What is the result?

  1. the conversion to numeric won’t happen at the value includes ‘$’ and ‘,’. had it been only numerals, the conversion would have taken place. Correct ans is C

  2. the correct answer is B. SAS does a implicit cast to numeric and it places a message in the log.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.