<?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: mail TO limit? works ksh doesnt work, manual does? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/451986#M283860</link>
    <description>&lt;P&gt;Well, never mind. I have found the issue - so I am replying to let others know.&lt;/P&gt;&lt;P&gt;There is a line length limit when running SAS in a ksh..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It must have to do with the " " or ( ) in the line.. but at 255 chars it cuts off the rest of the statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution is just to add some new lines in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 17:04:16 GMT</pubDate>
    <dc:creator>StaticFX</dc:creator>
    <dc:date>2018-04-06T17:04:16Z</dc:date>
    <item>
      <title>mail TO limit? works ksh doesnt work, manual does?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/451972#M283859</link>
      <description>&lt;P&gt;This is stumping me..&lt;/P&gt;&lt;P&gt;I have code that creates and sends an email to 7 people&lt;/P&gt;&lt;P&gt;When I run it in SAS EG - it works fine.&lt;/P&gt;&lt;P&gt;When I have a cron run it with a ksh it doesnt.&lt;/P&gt;&lt;P&gt;the ksh will work if I send to only 2 people + one cc, but no more?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is not making sense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FILENAME mail EMAIL TO=("name@place.com" "name2@place" "3" etc) CC=("Othername@place") SUBJECT="blah" CONTENT_TYPE="text/html" ATTACH="filename.csv";&lt;/PRE&gt;&lt;P&gt;Why would it not work with ksh?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 16:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/451972#M283859</guid>
      <dc:creator>StaticFX</dc:creator>
      <dc:date>2018-04-06T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: mail TO limit? works ksh doesnt work, manual does?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/451986#M283860</link>
      <description>&lt;P&gt;Well, never mind. I have found the issue - so I am replying to let others know.&lt;/P&gt;&lt;P&gt;There is a line length limit when running SAS in a ksh..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It must have to do with the " " or ( ) in the line.. but at 255 chars it cuts off the rest of the statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution is just to add some new lines in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/451986#M283860</guid>
      <dc:creator>StaticFX</dc:creator>
      <dc:date>2018-04-06T17:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: mail TO limit? works ksh doesnt work, manual does?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/452019#M283861</link>
      <description>&lt;P&gt;See this note:&amp;nbsp;&lt;A href="http://support.sas.com/kb/15/883.html" target="_blank"&gt;http://support.sas.com/kb/15/883.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always keep the length of my code lines below 80. That way I can correctly display my codes in a default telnet window, and I never need to side-scroll.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/452019#M283861</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-06T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: mail TO limit? works ksh doesnt work, manual does?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/452022#M283862</link>
      <description>&lt;P&gt;See this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME mail EMAIL
  TO=("name@place.com" "name2@place" "3" etc)
  CC=("Othername@place")
  SUBJECT="blah"
  CONTENT_TYPE="text/html"
  ATTACH="filename.csv"
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If I have a lot of recipients, and I keep them in a macro variable, I do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let rec=rec1@domain.com;
%let rec=&amp;amp;rec rec2@domain.com;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and so on.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mail-TO-limit-works-ksh-doesnt-work-manual-does/m-p/452022#M283862</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-06T18:03:46Z</dc:date>
    </item>
  </channel>
</rss>

