<?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 Declaration of multiple arrays in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/426796#M105197</link>
    <description>&lt;P&gt;data k;&lt;BR /&gt;input name $ sales95 - sales99;&lt;BR /&gt;cards;&lt;BR /&gt;vandana 876 48 4 562 23&lt;BR /&gt;nandu 23 8763 36 3 234&lt;BR /&gt;roy 23 3 7863 3 32&lt;BR /&gt;john 23 5 7653 3 323&lt;BR /&gt;daniel 432 8654 4 234 234&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*1 USD = 67.94 INR*/&lt;/P&gt;&lt;P&gt;/*please help me find the solution for the below question*/&lt;/P&gt;&lt;P&gt;/* keep both dollars and rupees with in a single dataset*/&lt;/P&gt;&lt;P&gt;/*data in the cards are in USD*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*i converted usd&amp;nbsp;to inr&amp;nbsp;using below code and it worked*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*how to&amp;nbsp; keep both dollars and rupees&amp;nbsp;&lt;/SPAN&gt;with in&lt;SPAN&gt;&amp;nbsp;a single dataset*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data k;&lt;BR /&gt;input name $ sales95 - sales99;&lt;BR /&gt;array vishnu(5) sales95-sales99;&lt;BR /&gt;do lilly=1 to 5;&lt;BR /&gt;vishnu(lilly)= vishnu(lilly)*67.94;&lt;BR /&gt;end;&lt;BR /&gt;drop lilly;&lt;BR /&gt;cards;&lt;BR /&gt;vandana 876 48 4 562 23&lt;BR /&gt;nandu 23 8763 36 3 234&lt;BR /&gt;roy 23 3 7863 3 32&lt;BR /&gt;john 23 5 7653 3 323&lt;BR /&gt;daniel 432 8654 4 234 234&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 08:24:11 GMT</pubDate>
    <dc:creator>VISHNU239</dc:creator>
    <dc:date>2018-01-11T08:24:11Z</dc:date>
    <item>
      <title>Declaration of multiple arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/426796#M105197</link>
      <description>&lt;P&gt;data k;&lt;BR /&gt;input name $ sales95 - sales99;&lt;BR /&gt;cards;&lt;BR /&gt;vandana 876 48 4 562 23&lt;BR /&gt;nandu 23 8763 36 3 234&lt;BR /&gt;roy 23 3 7863 3 32&lt;BR /&gt;john 23 5 7653 3 323&lt;BR /&gt;daniel 432 8654 4 234 234&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*1 USD = 67.94 INR*/&lt;/P&gt;&lt;P&gt;/*please help me find the solution for the below question*/&lt;/P&gt;&lt;P&gt;/* keep both dollars and rupees with in a single dataset*/&lt;/P&gt;&lt;P&gt;/*data in the cards are in USD*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*i converted usd&amp;nbsp;to inr&amp;nbsp;using below code and it worked*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*how to&amp;nbsp; keep both dollars and rupees&amp;nbsp;&lt;/SPAN&gt;with in&lt;SPAN&gt;&amp;nbsp;a single dataset*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data k;&lt;BR /&gt;input name $ sales95 - sales99;&lt;BR /&gt;array vishnu(5) sales95-sales99;&lt;BR /&gt;do lilly=1 to 5;&lt;BR /&gt;vishnu(lilly)= vishnu(lilly)*67.94;&lt;BR /&gt;end;&lt;BR /&gt;drop lilly;&lt;BR /&gt;cards;&lt;BR /&gt;vandana 876 48 4 562 23&lt;BR /&gt;nandu 23 8763 36 3 234&lt;BR /&gt;roy 23 3 7863 3 32&lt;BR /&gt;john 23 5 7653 3 323&lt;BR /&gt;daniel 432 8654 4 234 234&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 08:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/426796#M105197</guid>
      <dc:creator>VISHNU239</dc:creator>
      <dc:date>2018-01-11T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Declaration of multiple arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/426801#M105200</link>
      <description>&lt;P&gt;Please post code using {i} or running-man-icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have to create new variables to hold the converted values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data k;
   length Name $ 20 Sales95-Sales99 Rupies95-Rupies99 8;
   input name $ sales95 - sales99;

   array vishnu(5) sales95-sales99;
   array rupies(5) Rupies95-Rupies99;

   do lilly=1 to 5;
      rupies(lilly) = vishnu(lilly) * 67.94;
   end;

   drop lilly;
   cards;
vandana 876 48 4 562 23
nandu 23 8763 36 3 234
roy 23 3 7863 3 32
john 23 5 7653 3 323
daniel 432 8654 4 234 234
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 08:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/426801#M105200</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-01-11T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Declaration of multiple arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/427917#M105593</link>
      <description>&lt;P&gt;Thank you andreas_Ids. Got it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 05:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Declaration-of-multiple-arrays/m-p/427917#M105593</guid>
      <dc:creator>VISHNU239</dc:creator>
      <dc:date>2018-01-16T05:16:57Z</dc:date>
    </item>
  </channel>
</rss>

