data supply;
infile tv; input Brand $ 1-8 Model $ 9-14
Color $ 15-20 Stock 21-23
Ordered 24-26 Sold 27-29;
run;
proc print data=supply;
run;
Queation :
How many individual SAS statements does this program contain?
A eight
B six
C two
思考下,答案到了。。。。
A Incorrect---SAS statements usually begain with a keyword and alll end with a semicolon.Although the INPUT statement continues over three lines,it contains only one keyword and one semicolon.
B Correct---There are six SAS statements in this program:DATA,INFILE,INPUT,RUN,PROC PRINT and RUN.
C Incorrect---Don't confuse statements and steps.This program has two steps,a DATA step and a PROC step.Each step can have several statements,however.