<?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: Help ODS HTML Output in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512752#M2432</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/238252"&gt;@LorenaPalacios&lt;/a&gt;, I checked with a tech support colleague. He said answering this question will involve some diagnostic effort best facilitated by SAS Technical Support. You can open a track through any of the ways listed here:&amp;nbsp;&lt;A href="https://support.sas.com/techsup/contact/" target="_blank"&gt;https://support.sas.com/techsup/contact/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for&amp;nbsp;being a part of the SAS communities.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 21:18:34 GMT</pubDate>
    <dc:creator>BeverlyBrown</dc:creator>
    <dc:date>2018-11-13T21:18:34Z</dc:date>
    <item>
      <title>Help ODS HTML Output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512278#M2315</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not able to control the outputs in HMTL3 to send reports and graphics by mail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I show you the code, it works correctly but when I attach a graphic it automatically aligns all the text and numbers of the reports to the left&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="tw-swapa"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="oSioSc"&gt;&lt;DIV&gt;&lt;DIV class="gsrt tw-ta-container tw-nfl"&gt;&lt;SPAN&gt;Any suggestions? thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="gsrt tw-ta-container tw-nfl"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gsrt tw-ta-container tw-nfl"&gt;&lt;SPAN&gt;Code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="gsrt tw-ta-container tw-nfl"&gt;&lt;P&gt;%let workdir=%trim(%sysfunc(pathname(work)));&lt;BR /&gt;ods&amp;nbsp; graphics on / width=10 in height=3.5in;&lt;BR /&gt;ods _ALL_ close;&lt;BR /&gt;ods listing gpath="&amp;amp;workdir";&lt;BR /&gt;ods graphics / reset=index outputfmt=PNG imagename='graf1';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1;&lt;BR /&gt;footnote1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgplot data=PARA_GRAFICO_DIARIO1 noborder&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;filename sendmail email to=("maria.palacios@ypf.com") from=("maria.palacios@ypf.com")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attach = ("&amp;amp;workdir.\graf1.png" inlined='graf1'&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type='text/html' subject="Emailing graphics output";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options emailsys=smtp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options emailhost="xxx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods _all_ close;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods html file=sendmail STYLE=sasweb;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=WORK.RESUMEN_PRODUCCION nowindows headline headskip missing center style(report)=[cellspacing=2 borderwidth=2 ]&lt;/P&gt;&lt;P&gt;footnote1 '&amp;lt;img src=cid:graf1&amp;gt;';&lt;/P&gt;&lt;P&gt;proc report data=WORK.SC_ALERTA_SEMANAL&amp;nbsp; nowindows headline headskip missing center style(report)=[cellspacing=2 borderwidth=2 ]&lt;BR /&gt;style(header) = {font_weight = light font_face = 'Calibri' font_size = 9pt just = center cellheight=.65in backgroundcolor=lightgray}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods html close;&lt;BR /&gt;ods listing;&lt;BR /&gt;filename sendmail clear;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Nov 2018 17:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512278#M2315</guid>
      <dc:creator>LorenaPalacios</dc:creator>
      <dc:date>2018-11-12T17:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help ODS HTML Output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512665#M2410</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;What version of SAS are you running, and what operating system is SAS running on?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I could not reproduce the problem using this code:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailsys=smtp
        emailhost='xxx';

%let WORKDIR=%sysfunc(pathname(work));

ods _all_ close;

ods  graphics on / width=10 in height=3.5in;
ods graphics / reset=index outputfmt=png imagename='graf1';

filename sendmail email to='to-address-here' from='from-address-here'
         attach = ("&amp;amp;WORKDIR\graf1.png" inlined='graf1')
         type='text/html' subject='Emailing graphics output';

ods listing gpath="&amp;amp;WORKDIR";

title;
footnote;

proc sgplot data=sashelp.class noborder; hbar age; run; quit;

ods listing close;

ods html3 file=sendmail style=sasweb;

proc report data=sashelp.class headline headskip missing center
  style(report)=[cellspacing=2
                 borderwidth=2];
  where (sex eq 'F');
run; quit;

footnote '&amp;lt;img src=cid:graf1&amp;gt;';

proc report data=sashelp.class headline headskip missing center
  style(report)=[cellspacing=2 borderwidth=2]
  style(header) = [font_weight = light
                   font_face = 'Calibri'
                   font_size = 9pt
                   just = center
                   cellheight=.65in
                   backgroundcolor=lightgray];
  where (sex eq 'M');
run; quit;

ods html3 close;

ods listing;

filename sendmail clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The data in character columns Name and&amp;nbsp;Sex are left-aligned, and the data in the numeric columns Age, Height, and Weight are right-aligned.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 18:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512665#M2410</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2018-11-13T18:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help ODS HTML Output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512752#M2432</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/238252"&gt;@LorenaPalacios&lt;/a&gt;, I checked with a tech support colleague. He said answering this question will involve some diagnostic effort best facilitated by SAS Technical Support. You can open a track through any of the ways listed here:&amp;nbsp;&lt;A href="https://support.sas.com/techsup/contact/" target="_blank"&gt;https://support.sas.com/techsup/contact/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for&amp;nbsp;being a part of the SAS communities.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-ODS-HTML-Output/m-p/512752#M2432</guid>
      <dc:creator>BeverlyBrown</dc:creator>
      <dc:date>2018-11-13T21:18:34Z</dc:date>
    </item>
  </channel>
</rss>

