BookmarkSubscribeRSS Feed
knveraraju91
Barite | Level 11

Dear,

 

I need to put vertical lines in my report for a few selected variables  and values of the variables (Eg. Shown in attachment). In my data below how to put similar vertical lines in my report. Please help. Thank you.

 

ods rtf file="&outpath\&outnam..rtf" style=journal;                                     
%let s = %sysfunc(repeat(%str(_), 149 )) ;
footnote1 	j=c h=1   "^S={fontstyle=ROMAN fontweight=bold}&s";

proc report data=data1;

column var1 var2 var3 var4 var5 var6 var7 var8 var9;

define var1/group style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var2/style(column)={cellspacing=.20pt just=left width=6%} style(HEADER)={JUST=l} flow;
define var3/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var4/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var5/ style(column)={cellspacing=.20pt just=left width=6%} style(HEADER)={JUST=l} flow;
define var6/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var7/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var8/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;
define var9/ style(column)={cellspacing=.20pt just=left width=10%} style(HEADER)={JUST=l} flow;

run;

ods rtf close;
1 REPLY 1
art297
Opal | Level 21

Do the instructions at http://support.sas.com/kb/39/652.html do what you want?

 

Art, CEO, AnalystFinder.com

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 643 views
  • 0 likes
  • 2 in conversation