Pretty peculiar request:
In the dataset options in the second data step FIRSTOBS= is the row number to start reading data, OBS = is the row number to stop reading data.
data test1;
input a b;
datalines;
10 40 70
50 60 90
18 70 30
;
run;
data want;
set test1 (firstobs=2 obs=2 keep=b);
run;
If you really want the variable to be named C add a rename, either statement or dataset option.
... View more