3 weeks ago
I found the codes named Working with ODS Layout in SAS website. it looks like it works in that example SAS provided, but it does not appear to move the table farther left than from the center when I set x=.25in in the ODS region line. however, when I set x=5, it does move the table to near the right edge of the pdf page.
Any help you could provide is greatly appreciated.
ods pdf file = '/folders/myfolders/sasuser.v94/odslayoutpage.pdf';
ods layout absolute;
ods region y=1in x=.25in;
proc report nowd data=sales4
columns region city sales;
define region / group;
define sales /analysis sum format=dollar14.;
ods layout end;
ods pdf close;
3 weeks ago
My suggestion is that you look at the documentation and for some papers by Dan O'Connor, Pete Lund and Barbara Okerson on the use of ODS LAYOUT. I hardly ever use ABSOLUTE Layout. However, the page margins always come into play and I always use WIDTH=. PROC REPORT will try to center unless you use the NOCENTER option. You didn't post any data, but using SASHELP.SHOES, I was able to get this:
Hope it gives you an idea of what to look up in the doc.