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;

 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2774 views
  • 0 likes
  • 2 in conversation