<?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: Email Multiple proc prints without break in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791643#M25584</link>
    <description>&lt;P&gt;According to this:&amp;nbsp;&lt;A title="https://support.sas.com/kb/23/630.html" href="https://support.sas.com/kb/23/630.html" target="_self"&gt;https://support.sas.com/kb/23/630.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;that seems to be doing the job:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods all close;

ods html file='temp.html' headtext="&amp;lt;style&amp;gt;p,hr {display:none}&amp;lt;/style&amp;gt;"
style=htmlblue
;

proc odstext;
p "test1";
p "test2";
run;

proc print data=sashelp.class; where name='Alfred';
run;
proc print data=sashelp.class; where name='Alfred';
run;
proc odstext;
p "test3";
p "test4";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[EDIT]&lt;/P&gt;
&lt;P&gt;For html5 try this:&amp;nbsp;&lt;A title="https://support.sas.com/kb/57/526.html" href="https://support.sas.com/kb/57/526.html" target="_self"&gt;https://support.sas.com/kb/57/526.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jan 2022 14:49:02 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2022-01-22T14:49:02Z</dc:date>
    <item>
      <title>Email Multiple proc prints without break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791629#M25583</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Following is the program that sends an email...The issue is that I would like to see the proc print below the texts without any line/breaks in the mail, so that in the mail you see every sentence in the next line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME OUTPUT EMAIL&lt;BR /&gt;SUBJECT = "Test email SUBJECT"&lt;BR /&gt;TO=('abc')&lt;BR /&gt;type='text/html'&lt;BR /&gt;;&lt;BR /&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;ods html body=OUTPUT&lt;BR /&gt;;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc odstext;&lt;BR /&gt;p "test1";&lt;BR /&gt;p "test2";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class; where name='Alfred';&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.class; where name='Alfred';&lt;BR /&gt;run;&lt;BR /&gt;proc odstext;&lt;BR /&gt;p "test3";&lt;BR /&gt;p "test4";&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&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="Mushy_0-1642837354107.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67623i5EB573E755998D5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mushy_0-1642837354107.png" alt="Mushy_0-1642837354107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 07:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791629#M25583</guid>
      <dc:creator>Mushy</dc:creator>
      <dc:date>2022-01-22T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Email Multiple proc prints without break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791643#M25584</link>
      <description>&lt;P&gt;According to this:&amp;nbsp;&lt;A title="https://support.sas.com/kb/23/630.html" href="https://support.sas.com/kb/23/630.html" target="_self"&gt;https://support.sas.com/kb/23/630.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;that seems to be doing the job:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods all close;

ods html file='temp.html' headtext="&amp;lt;style&amp;gt;p,hr {display:none}&amp;lt;/style&amp;gt;"
style=htmlblue
;

proc odstext;
p "test1";
p "test2";
run;

proc print data=sashelp.class; where name='Alfred';
run;
proc print data=sashelp.class; where name='Alfred';
run;
proc odstext;
p "test3";
p "test4";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[EDIT]&lt;/P&gt;
&lt;P&gt;For html5 try this:&amp;nbsp;&lt;A title="https://support.sas.com/kb/57/526.html" href="https://support.sas.com/kb/57/526.html" target="_self"&gt;https://support.sas.com/kb/57/526.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 14:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791643#M25584</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-01-22T14:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Email Multiple proc prints without break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791645#M25585</link>
      <description>&lt;P&gt;Hello Bart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the mail.&lt;/P&gt;&lt;P&gt;But I still see the horizontal line in the email:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mushy_0-1642864677685.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67627i0431F17A507CA409/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mushy_0-1642864677685.png" alt="Mushy_0-1642864677685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mushy&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 15:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791645#M25585</guid>
      <dc:creator>Mushy</dc:creator>
      <dc:date>2022-01-22T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Email Multiple proc prints without break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791649#M25586</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to find the solution by updating the&amp;nbsp;pagebreakhtml option in a custom style:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define style styles.nobreak;&lt;BR /&gt;parent=styles.htmlblue;&lt;BR /&gt;style body from body /&lt;BR /&gt;pagebreakhtml=_undef_;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 16:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Email-Multiple-proc-prints-without-break/m-p/791649#M25586</guid>
      <dc:creator>Mushy</dc:creator>
      <dc:date>2022-01-22T16:48:03Z</dc:date>
    </item>
  </channel>
</rss>

