<?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: sent report Location wise sales report using proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722102#M223869</link>
    <description>Please give syñtax using this report &lt;BR /&gt;How to send to adam and scott</description>
    <pubDate>Fri, 26 Feb 2021 11:18:33 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2021-02-26T11:18:33Z</dc:date>
    <item>
      <title>sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721775#M223751</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;Suppose I have below location sales reports so I want sent&amp;nbsp; sales report&amp;nbsp; by respective location using proc report&amp;nbsp; procedure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Area_Location:&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>Thu, 25 Feb 2021 09:04:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721775#M223751</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-02-25T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721777#M223752</link>
      <description>&lt;P&gt;Please post usable example data and the code you tried so far.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 08:23:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721777#M223752</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-25T08:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721796#M223759</link>
      <description>&lt;P&gt;What do you mean by "sent"?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 09:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721796#M223759</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-02-25T09:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721922#M223801</link>
      <description>Hi:&lt;BR /&gt;  I'm not sure what you've posted. This seems to be a CSV data file? You call this a location sales report? Is there some column in the data the identifies whether something was "sent"?? You have not provided any logic or examples of code you've tried to generate the "sent" report. Typically, before you could use PROC REPORT with this data, you'd have to import the CSV file into SAS. There are 2 ways to do this: PROC IMPORT or a DATA step program. Have you written the code yet to import this data file into SAS format? &lt;BR /&gt;  Once you do that, you'll then need to understand how the "sent" report is derived from the "location" report. We don't know that logic from just looking at the data and without more direction about the logic or seeing your import code. There's a lot you can do with PROC REPORT, but without some examples of what you mean, it is hard to do more than ask for more information.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 25 Feb 2021 16:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/721922#M223801</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-02-25T16:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722059#M223854</link>
      <description>My question is how to sent mails report respective location wise using proc report procedure</description>
      <pubDate>Fri, 26 Feb 2021 07:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722059#M223854</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-02-26T07:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722066#M223857</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;My question is how to sent mails report respective location wise using proc report procedure&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, do you have code sending one mail? If not start with that task, the documentation of the filename-statement tells you all you need to know to send a mail. For the larger task, you need a variable in the data identifying the location.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 07:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722066#M223857</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-02-26T07:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722071#M223860</link>
      <description>&lt;P&gt;Concur with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post the code for a single report sent in a single mail.&lt;/P&gt;
&lt;P&gt;Also include the code you use to read that csv into SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 08:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722071#M223860</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-26T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722092#M223867</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sales; 
length zip $ 5 cty $ 8 var $ 10;
input zip $ cty $ var $ sales; 
label zip="Zip Code"
cty="County" 
var="Variety" 
 sales="Monthly Sales"; 
 datalines; 

52423 Scott Merlot 186. 
 52423 Scott Chardonnay 156.61 
52423 Scott Zinfandel 35.5 
 52423 Scott Merlot 55.3 
 52388 Scott Merlot 122.89 
 52388 Scott Chardonnay 78.22 
 52388 Scott Zinfandel 15.4 
52200 Adams Merlot 385.51 
 52200 Adams Chardonnay 246 
 52200 Adams Zinfandel 151.1 
 52200 Adams Chardonnay 76.24
 52199 Adams Merlot 233.03
 52199 Adams Chardonnay 185.22
 52199 Adams Zinfandel 95.84
 ;
run;


proc report data=sales headline headskip;
	title 'Grouped Report';
	column cty zip var sales;
	define cty	/group width =6 'Country/Name';
	define zip /group ;
	define var/group order=freq descending ;
	define sales/analysis sum format=6.2 width=10  ;
	run;

Please give solution for this report  procedure how to send email respective cites &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 10:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722092#M223867</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-02-26T10:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722098#M223868</link>
      <description>&lt;P&gt;Where are the email addresses stored, and how do you send a single mail?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 11:05:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722098#M223868</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-26T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722102#M223869</link>
      <description>Please give syñtax using this report &lt;BR /&gt;How to send to adam and scott</description>
      <pubDate>Fri, 26 Feb 2021 11:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722102#M223869</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-02-26T11:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722104#M223870</link>
      <description>&lt;P&gt;"adam" and "scott" are positively NOT valid email addresses, so this is not possible.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 11:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722104#M223870</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-26T11:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: sent report Location wise sales report using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722192#M223894</link>
      <description>Hi:&lt;BR /&gt;  To help you out, example 2 starting on page 7 in this paper &lt;A href="https://support.sas.com/resources/papers/proceedings11/300-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/300-2011.pdf&lt;/A&gt; shows how to send a report as an attachment to an email. The paper shows using PROC PRINT with ODS RTF to create a file that is attached to an email. However, any SAS procedure that produces results could be inserted where the paper shows PROC PRINT -- so PROC REPORT or PROC FREQ or PROC GLM would work because they produce results. PROC SORT would not work because SORT does not produce report results.&lt;BR /&gt;  In the paper, the email addresses are hard-coded. To send mail "automatically", you need to have a dataset of the names/emails to use. And you would likely need more advanced DATA step and SAS Macro techniques in order to send individual mails to individual people.&lt;BR /&gt;  Note that your SAS Administrator may need to set system options related to email in order for this to work with your system's email application.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 26 Feb 2021 16:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sent-report-Location-wise-sales-report-using-proc-report/m-p/722192#M223894</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-02-26T16:41:41Z</dc:date>
    </item>
  </channel>
</rss>

