Showing posts with label Infile statement. Show all posts
Showing posts with label Infile statement. Show all posts

Wednesday, March 27, 2013

Base SAS Example Question 5.1

Fill in the blank to output the first 5 observations from the filename col_inp.


data work.column_file;
     infile col_inp _____;
     input id 1 Name $ 3-16 Address $ 18-35;
     where Name contains 'Ziggy';
run;


a) maxobs=5
b) obs=5
c) datalines=5
d) lines=5


Leave your answer as a comment below...good luck!

SAS Cert