The contents of the raw data file PRODUCT are listed below: --------10-------20-------30 24613____$25.31 The following SAS program is submitted: data inventory; infile 'product'; input idnum 5. @10 price; run; Which one of the following is the value of the PRICE variable?
Explanation: Correct answer is 3 (missing) because when input statment tries to read price as number but encounters character value, so assigns a missing value to price variable.
Question :
The following SAS program is submitted: proc print data = sasuser.houses; run;
proc means data = sasuser.shoes; run; Which one of the following OPTIONS statements resets the page number to 1 for the second report?
Which one of the following is true of the SUM statement in a SAS DATA step program?
1. It is only valid in conjunction with a SUM function. 2. It is not valid with the SET, MERGE and UPDATE statements. 3. Access Mostly Uused Products by 50000+ Subscribers 4. It does not retain the accumulator variable value from one iteration of the SAS DATA step to the next.