tj0412ymy 发表于 2012-6-24 23:48 
Moving the  call missing(of _all_) into the loop makes it logically better and save (19) times unwanted execution of  "call missing(of _all_)".
data test(drop=i); 
    set sashelp.class end=eof ;
    output;
    
    if eof then do;
      do i=1 to 6;
          call missing(of _all_);
      output;
    end;
    run;
    proc print noobs;run;