I have a dataset which initially has more than 8000 rows.
Then when I execute the following SAS code:
rsubmit;
data have2;
set initial_dataset;
/* Since beginning is always equal to 1, I don't use it here in my code */
if /* beginning=1 and */ end=2 then flag=1;
else flag=0;
run;
endrsubmit;
the resulting dataset (have2) only has 10 rows. Why is this the case and how can I fix it?