05-21-2012 01:49 AM
Can anybody tell me how to extract the last row from raw data when total no. of rows are not known. i can extract subset of rows (from-to) by using FIRSTOBS and OBS
but do not know how to get last row if no of rows not known.
05-21-2012 03:37 AM
Try this..Hope it helps...
filename test "F:\Community_SAS\test.csv";
infile test truncover dlm=',' end=eof;
input name $;
if eof then output;