BookmarkSubscribeRSS Feed
akash1088
Obsidian | Level 7

Hi All,

Is there any option in proc report for 100% height.

Thanks .

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

What do you mean by 100% height?  To what destination also?  

akash1088
Obsidian | Level 7

This is my code.

Like when we are using outwidth=100% in proc report at that time it adjust the report size width equal to page size width.

Similarly  i want the height of my report should be equal to page size.

 

data m;
infile datalines dlm=',';
input name:$25. num ;
datalines;
ABCD,0.20
EFG,0.17
HIG,0.32
ghf,0.24
;
run;


goptions device=png;
ods powerpoint file='twotable.pptx' nogtitle nogfootnote;
ods layout gridded columns=2 column_widths=(50% 50%)  column_gutter=.1pct;
ods region ;
proc Report data=m
style(column)=[cellheight=2in]
style(report)={outputwidth=100%};
run;
ods region ;
proc Report data=m
style(report)={outputwidth=100%};
define name /style(column)={height=8pt};
run;
ods layout end;
ods powerpoint Close;

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 2 replies
  • 1473 views
  • 0 likes
  • 2 in conversation