The SAS Output Delivery System and reporting techniques

Is there a way to have "blank" columns using PROC PRINT

Reply
Contributor
Posts: 53

Is there a way to have "blank" columns using PROC PRINT

Hi, we have a request to modify a report (currently written using PROC PRINT) to have columns printed on the far left and far right of the page with blank spaces in between. Is there a way to accomplish this using templates? Currently using 9.1.3.
Frequent Contributor
Posts: 106

Re: Is there a way to have "blank" columns using PROC PRINT

Crude workaround:

Referring to the subject of your post (which doesn't mention templates): use whatever variable you want and set the column's foreground and background to the same color.
Since you put the word blank in quotes this perfectly matches your definition ;-)
PROC Star
Posts: 1,760

Re: Is there a way to have "blank" columns using PROC PRINT

Posted in reply to Robert_Bardos
Agree with Rob, something like
[pre]
data _V/view=_V;
retain DUMMY ' ';
set SASHELP.CLASS;
run;
ods html style=seaside;
proc print data=_V noobs;
var NAME ;
var DUMMY /style=[background=white foreground=white bordercolor=white cellwidth=900px];
var SEX /style=[just=center bordercolor=#3872AC];
run;
ods html close;
Ask a Question
Discussion stats
  • 2 replies
  • 143 views
  • 0 likes
  • 3 in conversation