Advertisement
leannemcn13

Proc report Line under row

Oct 2nd, 2017
1,182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 0.64 KB | None | 0 0
  1.  proc report data=example ls=132 ps=52 split='~' headline headskip center missing nowindows style(column)={asis=on};
  2.       column col1 col2 ord ord2;
  3.       define col1        / display "" style={cellwidth=75% paddingright=1cm just=left asis=on};
  4.       define col2        / display "" style={cellwidth=20% paddingright=1cm just=center asis=on};
  5.       define ord        / order order=data noprint;
  6.       define ord2       /order order= data noprint;
  7.  
  8.       compute after ord;
  9.         line '';
  10.       endcomp;
  11.  
  12.       compute ord2;
  13.         if ord2=1 then do;
  14.         call define(_row_,'STYLE','STYLE=[borderbottomwidth=0.5pt borderbottomcolor=black]');
  15.         end;
  16.       endcomp;
  17.  
  18.      
  19.  run;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement