Hi,
I have some ODS TEXT statements in an absolute layout that need page #s on the right margin. I can do that with 2 regions, but wondered if it can be done with one. What I tried was:
ods region y=1.5in x=.25in width=10in height=.25in;
ods text = "^{style[fontsize=8pt]All results are preliminary} ^{style[just=r]Page 1 of 4}";
So then I added a width= parm to the 2nd style:
ods text = "^{style[fontsize=8pt]All results are preliminary} ^{style[just=r width=10in]Page 1 of 4}";
The report is in landscape mode, so the lengths work fine in this context. ?
Using current version 9.4 TS1M3 of SAS.
Thanks!
--Ben
Ah. Ok, that explains it. Will just use 2 regions. Thanks!
--Ben
You can pad some blanks in it. ods escapechar='^'; ods text = " All results are preliminary %sysfunc(repeat(^_,40)) Page 1 of 4"; proc print data=sashelp.class;run;
Sorry. I don't know. I am not familiar with ODS LAYOUT.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.
Ready to level-up your skills? Choose your own adventure.