<?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: formating text in a PUT statement in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346537#M22924</link>
    <description>&lt;P&gt;Thanks Bruno_SAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works a treat&lt;/P&gt;</description>
    <pubDate>Sun, 02 Apr 2017 23:40:58 GMT</pubDate>
    <dc:creator>DME790</dc:creator>
    <dc:date>2017-04-02T23:40:58Z</dc:date>
    <item>
      <title>formating text in a PUT statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346017#M22899</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data _NULL_ to email out a PDF report that I do on a daily basis. I would like to format the text in a PUT statement to RED bold.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
file mymail to=('Dean.McK@help.com.au' )  
			from='Dean.McK@help.com.au';
put "Morning,";
PUT ;
put "Please find attached the Daily report for Week Ending &amp;amp;&amp;amp;Excel_Date_Prompt.";
PUT ;
PUT  "INTERNAL USE ONLY  (Not For Further Distribution)" ;
PUT;
PUT;
PUT;

PUT "Kind regards.";
PUT ;
Put "Dean McK";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I would like to have INTERNAL USE ONLY&amp;nbsp; (Not For Further Distribution) formatted as RED and&amp;nbsp;BOLDED so it stands out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 04:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346017#M22899</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-03-31T04:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: formating text in a PUT statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346055#M22900</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set the content type to text/html and use the appropriate html tags to control the color etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See a simple example below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myemail email
  to=("some.name@whoknows.tld")
  subject="test email %sysfunc(datetime(), e8601dt19.)"
  content_type="text/html"
;

data _null_;
  file myemail;
  put "Morning,";
  put;
  put "Please find attached the Daily report for Week Ending &amp;amp;&amp;amp;Excel_Date_Prompt.";
  put;
  put  '&amp;lt;p style="color:#FF0000"&amp;gt;INTERNAL USE ONLY  (Not For Further Distribution)&amp;lt;/p&amp;gt;';
  put;
  put;
  put;
  put "Kind regards.";
  put;
  put "Dean McK";
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 07:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346055#M22900</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-03-31T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: formating text in a PUT statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346537#M22924</link>
      <description>&lt;P&gt;Thanks Bruno_SAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works a treat&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 23:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/formating-text-in-a-PUT-statement/m-p/346537#M22924</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-04-02T23:40:58Z</dc:date>
    </item>
  </channel>
</rss>

