<?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 select none; and producing table in mail body in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-select-none-and-producing-table-in-mail-body/m-p/603587#M174879</link>
    <description>&lt;P&gt;Here's a basic example that I use for various emails:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mailbox email                                                                                                                  
    subject="Test sashelp.class"                                                                                                        
         to=("deepankar.srigyan@shopdirect.com")                                                                                        
       type="text/html";                                                                                                                
                                                                                                                                        
ods listing close;                                                                                                                      
ods MSOffice2K body=mailbox style=Listing;                                                                                              
                                                                                                                                        
proc print data=sashelp.class;                                                                                                          
run;                                                                                                                                    
                                                                                                                                        
ods _all_ close;                                                                                                                        
ods listing;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 14:23:40 GMT</pubDate>
    <dc:creator>DaveHorne</dc:creator>
    <dc:date>2019-11-12T14:23:40Z</dc:date>
    <item>
      <title>ods select none; and producing table in mail body</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-select-none-and-producing-table-in-mail-body/m-p/603556#M174865</link>
      <description>&lt;P&gt;I am trying to paste a table in my mail body. However I can't create an ods output first. my code is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let mail=deepankar.srigyan@shopdirect.com;
ods select none;
/*ods select all;-can't use this */

data table2;
input conversion_date :date7. rate;
format conversion_date date9.;
datalines;
01Jan17 110
15Jul17 96
06Mar18 104
;



   filename temp email to=(&amp;amp;mail.) 
            subject="sas forecasting | data prep | report| Daily file transfer summary"
            type="text/html";

   ods html body=temp
style = Listing;

/*   proc print data=table2;*/
/*   run;*/

     proc report data=table2;
   run;

   ods html close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;just to note&lt;/STRONG&gt; I can't do "ods select all" as this is not supported in my production environement. So is there any way I can paste the table&amp;nbsp; in my mail body without changing the ods option here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 12:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-select-none-and-producing-table-in-mail-body/m-p/603556#M174865</guid>
      <dc:creator>Srigyan</dc:creator>
      <dc:date>2019-11-12T12:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: ods select none; and producing table in mail body</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-select-none-and-producing-table-in-mail-body/m-p/603587#M174879</link>
      <description>&lt;P&gt;Here's a basic example that I use for various emails:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mailbox email                                                                                                                  
    subject="Test sashelp.class"                                                                                                        
         to=("deepankar.srigyan@shopdirect.com")                                                                                        
       type="text/html";                                                                                                                
                                                                                                                                        
ods listing close;                                                                                                                      
ods MSOffice2K body=mailbox style=Listing;                                                                                              
                                                                                                                                        
proc print data=sashelp.class;                                                                                                          
run;                                                                                                                                    
                                                                                                                                        
ods _all_ close;                                                                                                                        
ods listing;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 14:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-select-none-and-producing-table-in-mail-body/m-p/603587#M174879</guid>
      <dc:creator>DaveHorne</dc:creator>
      <dc:date>2019-11-12T14:23:40Z</dc:date>
    </item>
  </channel>
</rss>

