<?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 How to Looping All Accounts at same time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674950#M203283</link>
    <description>&lt;P&gt;I have 10 Bank accounts Numbers.Now i want accounts statements from June 29 to Aug 1.But i want a code automatically like when i run that code it will looping and get all accounts statements .So kindly suggest a best code for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bank Accounts Numbers :&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 11:06:43 GMT</pubDate>
    <dc:creator>Mohan_Reddy</dc:creator>
    <dc:date>2020-08-06T11:06:43Z</dc:date>
    <item>
      <title>How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674950#M203283</link>
      <description>&lt;P&gt;I have 10 Bank accounts Numbers.Now i want accounts statements from June 29 to Aug 1.But i want a code automatically like when i run that code it will looping and get all accounts statements .So kindly suggest a best code for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bank Accounts Numbers :&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674950#M203283</guid>
      <dc:creator>Mohan_Reddy</dc:creator>
      <dc:date>2020-08-06T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674951#M203284</link>
      <description>&lt;P&gt;Kindly explain further. What does "&lt;SPAN&gt;get all accounts statements" mean?&amp;nbsp;&lt;/SPAN&gt;Please show a small example.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:08:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674951#M203284</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-06T11:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674953#M203285</link>
      <description>&lt;P&gt;Please supply source data in usable form (&lt;STRONG&gt;in a data step with datalines, do not skip this!&lt;/STRONG&gt;), and what you expect to get out of it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674953#M203285</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-06T11:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674954#M203286</link>
      <description>&lt;P&gt;For example i have bank account numbers like this :&amp;nbsp; 9022145682&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9025478991&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9120456897&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9789456125&amp;nbsp; etc 10 Accounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now i want all this 10 accounts transactions statements from june 29 to aug 1 through single code only..Like Looping .So kindly help in this code . once code will run we need to get all 10 accounts transaction statements outputs at same time.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674954#M203286</guid>
      <dc:creator>Mohan_Reddy</dc:creator>
      <dc:date>2020-08-06T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674959#M203289</link>
      <description>&lt;P&gt;I'm afraid these incredibly brief descriptions have not led me to understand what you want or how we can help you. You have not explained what it means when you want all accounts transactions statements, or where these statements are, or how a SAS program can access them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, any SAS program is "single code", so any SAS program would meet that need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674959#M203289</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-06T11:29:26Z</dc:date>
    </item>
    <item>
      <title>How to get multiple bank account transaction statements output ??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674963#M203296</link>
      <description>&lt;P&gt;For example i have bank account numbers like this :&amp;nbsp; 9022145682&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9025478991&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9120456897&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9789456125&amp;nbsp; etc 10 Accounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now i want all this 10 accounts transactions statements from june 29 to aug 1 through single code only..Like Looping .So kindly help in this code . once code will run we need to get all 10 accounts transaction statements outputs at same time.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674963#M203296</guid>
      <dc:creator>Mohan_Reddy</dc:creator>
      <dc:date>2020-08-06T11:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get multiple bank account transaction statements output ??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674965#M203297</link>
      <description>&lt;P&gt;Please don't post the same question twice. You have already asked this question in your other thread at&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/td-p/674950" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/td-p/674950&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:51:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674965#M203297</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-06T11:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get multiple bank account transaction statements output ??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674966#M203298</link>
      <description>&lt;P&gt;Soory for post.Before i had not asking properly so that why cause ask properly question right.So kindly help in this code&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 11:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674966#M203298</guid>
      <dc:creator>Mohan_Reddy</dc:creator>
      <dc:date>2020-08-06T11:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get multiple bank account transaction statements output ??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674969#M203299</link>
      <description>&lt;P&gt;I merged this back to the original question. Please provide example data and expected output; read my previous post.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 12:00:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674969#M203299</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-06T12:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674972#M203300</link>
      <description>&lt;P&gt;Mohan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a very common question and there are may threads here on this topic.&amp;nbsp; However, since your question is so vague I will point to a solution that will enable you to write your own code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2015/01/30/sas-authors-tip-getting-the-macro-language-to-perform-a-do-loop-over-a-list-of-values/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2015/01/30/sas-authors-tip-getting-the-macro-language-to-perform-a-do-loop-over-a-list-of-values/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 12:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674972#M203300</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-08-06T12:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Looping All Accounts at same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674976#M203301</link>
      <description>&lt;P&gt;If I understand you correctly then you can subset your data using a code like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let acnts = 1111 22222 3333 ....; /* accounts list */
%let period = BETWEEN &amp;lt;from_date&amp;gt; AND &amp;lt;last_date&amp;gt;;
/* enter dates literal in a format:  '06AUG2020'd */

data want;
  set have(where=(account in (&amp;amp;acnts) and date &amp;amp;period));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;if you have a long list of accounts then better use next skeleton code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _acnts;
   input account;
cards;
11111
22222
33333
.....
; run;
proc sql;
   create table want as
   select * from have
   where account in (select account from _acnts) and
              date &amp;amp;period;  /* period defined by %let or typed here */
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 12:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/674976#M203301</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-06T12:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get multiple bank account transaction statements output ??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/675028#M203319</link>
      <description>&lt;P&gt;1. Make sure you have a working program that works for one account&lt;/P&gt;
&lt;P&gt;2. Follow the instructions here to generalize it for many accounts&amp;nbsp;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - vague questions get vague answers and your question is incredibly broad. It could require something like above or could be as simple as changing an = to a IN but unless you show an example of what you're trying to do we have no idea of how to answer your question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Looping-All-Accounts-at-same-time/m-p/675028#M203319</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T15:05:42Z</dc:date>
    </item>
  </channel>
</rss>

