Specifies the end row number in a user-defined range for the processing of a given table.
Valid in: | SPD Server |
specifies the number of the end row.
libname tempdata sasspds 'conversion_area' server=husky.5105 user='siteusr1' prompt=yes; proc sql; create table tempdata.old_autos( Year char(4), Manufacturer char(12), Model char(10), Body_style char(5), Engine_liters num, Trans_type char(1), Ext_color char(10), Options char(10), Mileage num, Condition num); insert into tempdata.old_autos values('1971', 'Buick', 'Skylark', 'conv', 5.8,'A', 'yellow', '0000001', 143000, 2); insert into tempdata.old_autos values('1982', 'Ford', 'Fiesta', 'hatch', 1.2, 'M', 'silver', '0000001', 70000, 3); insert into tempdata.old_autos values('1975', 'Lancia', 'Beta', '2door', 1.8, 'M', 'drk blue', '0000010', 80000, 4); insert into tempdata.old_autos values('1966', 'Oldsmobile','Toronado', '2door', 7.0, 'A', 'black', '11000010', 210000, 3); insert into tempdata.old_autos values('1969', 'Ford', 'Mustang', 'sptrf', 7.1, 'M', 'red', '0000111', 125000, 3); quit; proc print data=tempdata.old_autos (startobs=2 endobs=4); run;
proc print data=tempdata.old_autos(endobs=2); where trans_type="M"; run;