Use the SPDSSOBS= macro
variable to specify the number of the starting row (observation) in
a user-defined range of a table.
Default: The default setting of 0 processes the entire table.
Corresponding
Table Option: STARTOBS=
is the number of the
start row.
By default, SPD Server
processes entire tables unless you specify a range of rows. You can
specify a range using the macro variables SPDSSOBS= and SPDSEOBS=,
or you can use the table options, STARTOBS= and ENDOBS=.
If you specify the end
of a user-defined range using the SPDSEOBS= macro variable, but do
not implicitly specify the beginning of the range using SPDSSOBS=,
SPD Server sets SPDSSOBS= to 1, or the first row in the table. If
you specify values for both SPDSSOBS= and SPDSEOBS= macro variables,
the value of SPDSEOBS= must be greater than SPDSSOBS=. The SPDSSOBS=
and SPDSEOBS= macro variables specify ranges for table input processing
as well as WHERE clause processing.
Print the INVENTORY.OLDAUTOS
table, skipping rows 1-999, and beginning with row 1000. You should
submit the SPDSSOBS= macro variable statement before the PROC PRINT
statement in your job.
%let SPDSSOBS=1000;
The statement above
specifies the starting row with SPDSSOBS=, but does not declare an
ending row for the range using SPDSEOBS=. When the program executes,
SAS will begin printing at row 1000 and continues until the final
row of the table is reached.
PROC PRINT data=inventory.oldautos;
run;