<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS region in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/714275#M220494</link>
    <description>&lt;P&gt;Thank you.&amp;nbsp; I contacted SAS support and indeed it is a bug.&amp;nbsp; It has been reported.&amp;nbsp; I used the columns=&amp;nbsp; option and it worked.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 14:37:21 GMT</pubDate>
    <dc:creator>eramirez</dc:creator>
    <dc:date>2021-01-26T14:37:21Z</dc:date>
    <item>
      <title>ODS region</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/713386#M220075</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I outputted results from proc tabulate and sgplot to a pdf file.&amp;nbsp; I used ODS region to place the table and bar chart next to each other on one page.&amp;nbsp; Everything looks good except for the label for ALL (tables (ALL='Total'...), instead of total, it's using a label for another variable?&amp;nbsp; When I don't use ODS region, it resolves that issue.&amp;nbsp; Not sure what I'm missing or if there is a better way to output the table and graph side by side that doesn't require ODS region? Any tips would be appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;PRE&gt;%let todaysDate1 =  %sysfunc(today(), DATE9.);
%put &amp;amp;todaysDate1;

options orientation=landscape nodate pageno=1 leftmargin=.25in rightmargin=.25in topmargin=.25in bottommargin=.25in;
ODS pdf file="C:\ODSRegionOutput..pdf" style=journal bookmarklist=none pdftoc=2;
ODS layout start columns=2;
ODS region;
proc tabulate data=dataset1;
	class newage/missing preloadfmt mlf order=data s=[font_style=italic font_weight=bold CellWidth=200];
	class newrace/missing preloadfmt mlf order=data s=[font_style=italic font_weight=bold ];
         class Gender/missing mlf order=data s=[font_style=italic font_weight=bold ]; 
	class resident/missing mlf order=data s=[font_style=italic font_weight=bold];
	tables (ALL='Total' newage='Age' newrace='Race/Ethnicity' Gender='Sex' resident='Residence'),( N colpctn='(%)');
	format newage age. newrace racegrp.;
run;
ODS graphics on/ width=5.5in height=4in noborder;
ODS region;
proc sgplot data=dataset1;
	vbar date/ stat=sum  datalabelfitpolicy=rotate datalabel;
	xaxis label='Date' values = ('20DEC2020'd to  "&amp;amp;todaysDate1"d by day) valueattrs=(size=7pt);
	yaxis label='Number' ;
	format date MMDDYYS.;
run;
ODS graphics off;

ODS layout end;
ODS pdf close; &lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2021 15:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/713386#M220075</guid>
      <dc:creator>eramirez</dc:creator>
      <dc:date>2021-01-22T15:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS region</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/713779#M220258</link>
      <description>&lt;P&gt;We ca't replicate as you use date we don;t have access to, but from your description this looks like a bug.&lt;/P&gt;
&lt;P&gt;You should contact SAS Tech Support.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 23:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/713779#M220258</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-01-24T23:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS region</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/714275#M220494</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I contacted SAS support and indeed it is a bug.&amp;nbsp; It has been reported.&amp;nbsp; I used the columns=&amp;nbsp; option and it worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 14:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-region/m-p/714275#M220494</guid>
      <dc:creator>eramirez</dc:creator>
      <dc:date>2021-01-26T14:37:21Z</dc:date>
    </item>
  </channel>
</rss>

