Main code with problem
proc print data=SASHELP.CLASS(firstobs=5 obs=15);
where Sex='M';
run;
So the general meaning of the above program is that observations whose sex is 'Male' will starting reading from 5th record and stops at 15th record but instead SAS starts reading from 10th record and goes all the way to the end of the dataset up to 19th record. So, what is there I am missing here because I don't get the logic here at all?
SASHELP.CLASS dataset for reference
proc print data=sashelp.class;
run;
... View more