<?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: array in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27467#M6265</link>
    <description>Hi rab,&lt;BR /&gt;
&lt;BR /&gt;
Try this it may help you&lt;BR /&gt;
&lt;BR /&gt;
data report.foura;&lt;BR /&gt;
set report.four;&lt;BR /&gt;
Array CPT(5) cpt1 cpt2 cpt3 cpt4 cpt5;&lt;BR /&gt;
Do I = 1 To 5;&lt;BR /&gt;
If CPT(I) = '99201' then CPT(I)= 1;&lt;BR /&gt;
output;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;and use proc print to see output or directly open dataset&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
sassupport&lt;BR /&gt;
&lt;A href="http://www.reportinghouse.com" target="_blank"&gt;http://www.reportinghouse.com&lt;/A&gt;</description>
    <pubDate>Fri, 08 May 2009 13:17:37 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-05-08T13:17:37Z</dc:date>
    <item>
      <title>array</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27465#M6263</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I wrote an array and I know that there were no errors according to the log.  How can I see the output, would I run a frequency.&lt;BR /&gt;
&lt;BR /&gt;
data report.foura;&lt;BR /&gt;
set report.four;&lt;BR /&gt;
Array CPT(5) cpt1 cpt2 cpt3 cpt4 cpt5;&lt;BR /&gt;
Do I = 1 To 5;&lt;BR /&gt;
If CPT(I) = '99201' then CPT(I)= 1;&lt;BR /&gt;
end;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 05 May 2009 21:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27465#M6263</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-05T21:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: array</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27466#M6264</link>
      <description>PROC PRINT or PROC FREQ -- at a minimum, you could add the following to your DATA step for SAS log diagnostics:&lt;BR /&gt;
&lt;BR /&gt;
PUTLOG _ALL_;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 05 May 2009 22:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27466#M6264</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-05T22:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: array</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27467#M6265</link>
      <description>Hi rab,&lt;BR /&gt;
&lt;BR /&gt;
Try this it may help you&lt;BR /&gt;
&lt;BR /&gt;
data report.foura;&lt;BR /&gt;
set report.four;&lt;BR /&gt;
Array CPT(5) cpt1 cpt2 cpt3 cpt4 cpt5;&lt;BR /&gt;
Do I = 1 To 5;&lt;BR /&gt;
If CPT(I) = '99201' then CPT(I)= 1;&lt;BR /&gt;
output;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;and use proc print to see output or directly open dataset&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
sassupport&lt;BR /&gt;
&lt;A href="http://www.reportinghouse.com" target="_blank"&gt;http://www.reportinghouse.com&lt;/A&gt;</description>
      <pubDate>Fri, 08 May 2009 13:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/array/m-p/27467#M6265</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-08T13:17:37Z</dc:date>
    </item>
  </channel>
</rss>

