<?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: Formatting change with email change in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914748#M360468</link>
    <description>&lt;P&gt;Why are you writing HTML as fixed length 80 byte records (card images)?&lt;/P&gt;
&lt;P&gt;I suspect it is having to flow the code into such a cramped format that is causing extra spaces to make their way into the generated HTML.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 19:26:09 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2024-02-06T19:26:09Z</dc:date>
    <item>
      <title>Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914698#M360439</link>
      <description>&lt;P&gt;Had to change email system to CSSMTP for security reasons and and now getting &amp;amp;nbsp characters after line breaks in email body. Utilizing ODS HTML3 with style=sasweb. I've played around with different ODS destinations, styles and options and cannot seem to make it disappear. Anyone have any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93307i88783B601EBC372B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:26:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914698#M360439</guid>
      <dc:creator>G_I_Jeff</dc:creator>
      <dc:date>2024-02-06T14:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914727#M360454</link>
      <description>Hi:&lt;BR /&gt;That's very odd. It almost looks like there's a space between the 's' and the  'p' in '&amp;amp;nbsp;' in your screen shot. Just as a test, does the same thing happen if you use HTML4 or HTML5? This might be something you need to work on with Tech Support. If you are not putting '&amp;amp;nbs p;' into the program, then there may be some bug in the HTML3 destination code in ODS.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 06 Feb 2024 16:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914727#M360454</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2024-02-06T16:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914741#M360464</link>
      <description>&lt;P&gt;Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Different HTML destinations do remove it, but change the body formatting of the email drastically:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;HTML4&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTML4.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93310i9C89896F1C7276D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="HTML4.jpg" alt="HTML4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTML5&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTML5.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93311iBA32736AFCB4D2B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="HTML5.png" alt="HTML5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know enough about how styles work with different HTML outputs.&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 18:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914741#M360464</guid>
      <dc:creator>G_I_Jeff</dc:creator>
      <dc:date>2024-02-06T18:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914742#M360465</link>
      <description>&lt;P&gt;I forgot to mention, there also looks like a space in the word February in the title that wasn't there before.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 18:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914742#M360465</guid>
      <dc:creator>G_I_Jeff</dc:creator>
      <dc:date>2024-02-06T18:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914743#M360466</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile email                                        
    to=("xxxxxxxx@usda.gov")                             
    from=("xxxxxxxx@usda.gov")                          
    sender=("xxxxxxxx@.usda.gov")                        
    replyto=("xxxxxxxx@usda.gov")                   
    subject="DISC daily mainframe metrics"                   
    type="text/html"                                         
    sysout=b                                                 
    pgm=ktcpsmtp                                             
    encoding=ascii                                           
    lrecl=80                                                 
    blksize=80                                               
    recfm=fb;                                                
run;                                                         
                                                             
ods html3 body=myfile rs=none style=sasweb;                  
                                                             
proc print data=work.plat noobs;                             
 var cecser minpltbusy avgpltbusy maxpltbusy                 
     minzipbusy avgzipbusy maxzipbusy;                       
 where system='SYSA';                                        
 title1 j=left c=black height=6pt                            
        "Here are the daily metrics.";      
 title2 j=left c=black height=6pt                            
        "xxxxxxxx";                                        
 title3 " ";                                                 
 title4 "&amp;amp;serial&amp;amp;type DISC frame 24hr metrics for &amp;amp;rptdate"; 
run;                                                         
                                                             
proc print data=work.sys noobs;                              
  by system;                                                 
 var cecser system hour minsysbusy avgsysbusy maxsysbusy     
     minzipbusy avgzipbusy maxzipbusy;                       
 title "&amp;amp;serial&amp;amp;type DISC systems 24hr metrics for &amp;amp;rptdate";
run;                                                         &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2024 18:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914743#M360466</guid>
      <dc:creator>G_I_Jeff</dc:creator>
      <dc:date>2024-02-06T18:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914748#M360468</link>
      <description>&lt;P&gt;Why are you writing HTML as fixed length 80 byte records (card images)?&lt;/P&gt;
&lt;P&gt;I suspect it is having to flow the code into such a cramped format that is causing extra spaces to make their way into the generated HTML.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 19:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914748#M360468</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-06T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting change with email change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914749#M360469</link>
      <description>&lt;P&gt;This came from an example of how to use CSSMTP on the mainframe. It is passing the entire email to the CSSMTP via JES. I increased the record length and blocksize to 133 and it eliminated it. Good catch!!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 19:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-change-with-email-change/m-p/914749#M360469</guid>
      <dc:creator>G_I_Jeff</dc:creator>
      <dc:date>2024-02-06T19:31:34Z</dc:date>
    </item>
  </channel>
</rss>

