Specifies the first row in a data source that SAS processes.
Valid in: | DATA and PROC steps |
Category: | Observation Control |
Restriction: | Valid for input (Read) processing only. |
Supports: | All |
specifies the number
of the first row to process in multiples of 1 (bytes); 1,024 (kilobytes);
1,048,576 (megabytes); or 1,073,741,824 (gigabytes). For example,
a value of 8
specifies the 8th row,
and a value of 3k
specifies 3,072.
specifies the number
of the first row to process as a hexadecimal value. You must specify
the value beginning with a number (0-9), followed by an X. For example,
the value 2dx
sets the 45th row as
the first row to process.
sets the number of the first row to process to 1. This is the default.
sets the number of the first row to process to the maximum number of rows in the data set, up to the largest eight-byte, signed integer, which is 263-1, or approximately 9.2 quintillion rows.
data myfiles.study; input char $ @@; datalines; aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp qq rr ss tt uu vv ww xx yy zz ;
proc print data=myfiles.study (firstobs=20); run;
data new; set study(firstobs=5 obs=10); run;
proc print data=new; run;