<?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 ODS sample code - account balance in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/473345#M21154</link>
    <description>&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I need to generate ~1,000 statements with SAS, one statement for each customer in PDF format and e-mail them. Something similar to the account balance you get from your bank, very close to a credit card statement.&lt;/P&gt;&lt;P&gt;1- I guess ODS is the way to go. Is there other alternative?&lt;/P&gt;&lt;P&gt;2- I am sure somebody has done something like this. If you are so kind to share your code, I will really appreciate it. I am new to ODS and I don't have a clue on where to start. Any suggestions or comments are welcome&lt;/P&gt;&lt;P&gt;3- Is it possible to design a template with a graphic desing tool and "fill the blanks" with SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 12:31:57 GMT</pubDate>
    <dc:creator>HGimenez</dc:creator>
    <dc:date>2018-06-26T12:31:57Z</dc:date>
    <item>
      <title>ODS sample code - account balance</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/473345#M21154</link>
      <description>&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I need to generate ~1,000 statements with SAS, one statement for each customer in PDF format and e-mail them. Something similar to the account balance you get from your bank, very close to a credit card statement.&lt;/P&gt;&lt;P&gt;1- I guess ODS is the way to go. Is there other alternative?&lt;/P&gt;&lt;P&gt;2- I am sure somebody has done something like this. If you are so kind to share your code, I will really appreciate it. I am new to ODS and I don't have a clue on where to start. Any suggestions or comments are welcome&lt;/P&gt;&lt;P&gt;3- Is it possible to design a template with a graphic desing tool and "fill the blanks" with SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 12:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/473345#M21154</guid>
      <dc:creator>HGimenez</dc:creator>
      <dc:date>2018-06-26T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS sample code - account balance</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/473363#M21155</link>
      <description>&lt;P&gt;Start by writing the code for 1 statement.&amp;nbsp; This could be as simple as:&lt;/P&gt;
&lt;PRE&gt;data tmp;
  str="hello";
run;

ods pdf file="c:\tmp.pdf";
proc print data=tmp noobs;
run;
ods pdf close;

filename tmp email "..." attach="c:\tmp.pdf";

data _null_;
  file tmp;
  put 'Hi your file.';
run;

filename tmp clear;
&lt;/PRE&gt;
&lt;P&gt;Once you have it working for one, then you can start to replace key parts with macro to be able to run it for X number of times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:03:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/473363#M21155</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-26T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS sample code - account balance</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/585397#M23240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to accomplish the task. Can you share the code with me. it will be very helpful&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 08:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-sample-code-account-balance/m-p/585397#M23240</guid>
      <dc:creator>ASHISH2525</dc:creator>
      <dc:date>2019-08-31T08:07:59Z</dc:date>
    </item>
  </channel>
</rss>

