【SAS NOTES】data set if

data mysas.gprsprice_cal;
    set mysas.gprsprice;
    if guang<0.04;
    guang_a=guang*10;
run;

只有符合if条件的数据才会被放入新的数据集中。

原文地址:https://www.cnblogs.com/colipso/p/2890348.html