I have a SAS dataset sized close to 20 GB, I am trying to use a where clause but am unable to do so as the size of the dataset is swelling up and I am getting as error stating: SAS file is full. When I last looked at the dataset being created in the library the size was close to 45GB. My code is:
data fin2;
set fin;
where segment = "a";
run;
segment has 2 possible values a and b (a is close to 50% of the rows)
can anyone tell me what is happening and why is the size of dataset increasing. I tried doing this with an if command also but to no avail.