<?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 While sending BULK PDF file, file are not able to open in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694557#M211833</link>
    <description>&lt;P&gt;Hi Team ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to send bulk PDF file . below code I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro Mail_S;&lt;BR /&gt;%if &amp;amp;cnt %gt 0 %then %do;&lt;BR /&gt;OPTIONS EMAILSYS=SMTP EMAILHOST=XXXXXXXXXXX EMAILID="Analytics@cat.com";&lt;BR /&gt;FILENAME BLAT EMAIL&lt;BR /&gt;FROM = ( "Analytics@cat.com" )&lt;BR /&gt;TO = ( "Analytics@cat.com" )&lt;BR /&gt;&lt;BR /&gt;SUBJECT = ( "New Order (&amp;amp;sysdate9.)")&lt;BR /&gt;ATTACH = ( &amp;amp;cat. ct='application/octet-stream' )&lt;BR /&gt;TYPE = "TEXT/HTML"&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;FILE BLAT;&lt;BR /&gt;PUT '&amp;lt;HTML&amp;gt;&amp;lt;BODY&amp;gt;';&lt;BR /&gt;put "Analytics&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;";&lt;BR /&gt;put '&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;';&lt;BR /&gt;run;&lt;BR /&gt;%end;&lt;BR /&gt;%mend Mail_s;&lt;/P&gt;&lt;P&gt;%mail_s;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 12:52:00 GMT</pubDate>
    <dc:creator>Sharath_naik</dc:creator>
    <dc:date>2020-10-27T12:52:00Z</dc:date>
    <item>
      <title>While sending BULK PDF file, file are not able to open</title>
      <link>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694557#M211833</link>
      <description>&lt;P&gt;Hi Team ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to send bulk PDF file . below code I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro Mail_S;&lt;BR /&gt;%if &amp;amp;cnt %gt 0 %then %do;&lt;BR /&gt;OPTIONS EMAILSYS=SMTP EMAILHOST=XXXXXXXXXXX EMAILID="Analytics@cat.com";&lt;BR /&gt;FILENAME BLAT EMAIL&lt;BR /&gt;FROM = ( "Analytics@cat.com" )&lt;BR /&gt;TO = ( "Analytics@cat.com" )&lt;BR /&gt;&lt;BR /&gt;SUBJECT = ( "New Order (&amp;amp;sysdate9.)")&lt;BR /&gt;ATTACH = ( &amp;amp;cat. ct='application/octet-stream' )&lt;BR /&gt;TYPE = "TEXT/HTML"&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;FILE BLAT;&lt;BR /&gt;PUT '&amp;lt;HTML&amp;gt;&amp;lt;BODY&amp;gt;';&lt;BR /&gt;put "Analytics&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;";&lt;BR /&gt;put '&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;';&lt;BR /&gt;run;&lt;BR /&gt;%end;&lt;BR /&gt;%mend Mail_s;&lt;/P&gt;&lt;P&gt;%mail_s;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 12:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694557#M211833</guid>
      <dc:creator>Sharath_naik</dc:creator>
      <dc:date>2020-10-27T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: While sending BULK PDF file, file are not able to open</title>
      <link>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694570#M211835</link>
      <description>&lt;P&gt;Please run the code with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mlogic mprint symbolgen;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and post the complete log using this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg"&gt;&lt;img src="https://communities.sas.com/skins/images/2FD96521DCF95C42FE57BF2A7CB72678/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 13:21:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694570#M211835</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-27T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: While sending BULK PDF file, file are not able to open</title>
      <link>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694603#M211839</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/137094"&gt;@Sharath_naik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Team ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help to send bulk PDF file . below code I'm using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%macro Mail_S;&lt;BR /&gt;%if &amp;amp;cnt %gt 0 %then %do;&lt;BR /&gt;OPTIONS EMAILSYS=SMTP EMAILHOST=XXXXXXXXXXX EMAILID="Analytics@cat.com";&lt;BR /&gt;FILENAME BLAT EMAIL&lt;BR /&gt;FROM = ( "Analytics@cat.com" )&lt;BR /&gt;TO = ( "Analytics@cat.com" )&lt;BR /&gt;&lt;BR /&gt;SUBJECT = ( "New Order (&amp;amp;sysdate9.)")&lt;BR /&gt;ATTACH = ( &amp;amp;cat. ct='application/octet-stream' )&lt;BR /&gt;TYPE = "TEXT/HTML"&lt;/P&gt;
&lt;P&gt;;&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;FILE BLAT;&lt;BR /&gt;PUT '&amp;lt;HTML&amp;gt;&amp;lt;BODY&amp;gt;';&lt;BR /&gt;put "Analytics&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;";&lt;BR /&gt;put '&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;';&lt;BR /&gt;run;&lt;BR /&gt;%end;&lt;BR /&gt;%mend Mail_s;&lt;/P&gt;
&lt;P&gt;%mail_s;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your code does not mention PDF anywhere. So why is the subject about PDF???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have the macro variable &amp;amp;cat hiding the name of a PDF document then you should show us the values of &amp;amp;cat and where they come from. Not to mention &amp;amp;cnt. When macro variables other than SAS system variables just appear in the middle of code and not passed as parameters you&amp;nbsp; might be having issues with scope of macro variables, i.e. where they are accessible&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 15:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/While-sending-BULK-PDF-file-file-are-not-able-to-open/m-p/694603#M211839</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-27T15:09:34Z</dc:date>
    </item>
  </channel>
</rss>

