<?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: Multiple datasets and multiple macro parameters --loop over in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/600196#M173418</link>
    <description>&lt;P&gt;So you want to write a loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we know what the values in &amp;amp;MULTIPLEDATA are that we need to loop through? How do we know the values of &amp;amp;EVENTS are? And so on.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Whwere is this information stored?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 22:50:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-10-29T22:50:23Z</dc:date>
    <item>
      <title>Multiple datasets and multiple macro parameters --loop over</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/599953#M173356</link>
      <description>&lt;P&gt;Hello. Can anyone help with the following?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create one report table for multiple datasets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc stdrate data=&amp;amp;MULTIPLEDATA (here I would like to loop through multuple dataset, for example data 1 and data 2)&lt;BR /&gt;refdata=&amp;amp;REFDATA(This should unique for each dataset, for example data 1 this refdata=female and for data 2 this refdata=male)&lt;BR /&gt;method=direct&lt;BR /&gt;stat=rate (mult=100000);&lt;BR /&gt;population event=&amp;amp;EVENTS(this also unique for each data as&amp;amp; refdata) total=&amp;amp;population (this also unque for each data as refdata);&lt;BR /&gt;reference total=&amp;amp;REF_DATA(also unique for each data);&lt;BR /&gt;strata agegroup;&lt;BR /&gt;by &amp;amp;VRBL(also unique for each data) notsorted;&lt;BR /&gt;ods output StdRate=StdRate;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that (each data would contain their unique variable and REFDATA also unique data for a given REFDATA.&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 23:13:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/599953#M173356</guid>
      <dc:creator>Emma8</dc:creator>
      <dc:date>2019-10-28T23:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple datasets and multiple macro parameters --loop over</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/600185#M173413</link>
      <description>&lt;P&gt;Couldn't you add&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc append base=RESULT data=STDRATE; run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;after your the step shown?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 21:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/600185#M173413</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-29T21:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple datasets and multiple macro parameters --loop over</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/600196#M173418</link>
      <description>&lt;P&gt;So you want to write a loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we know what the values in &amp;amp;MULTIPLEDATA are that we need to loop through? How do we know the values of &amp;amp;EVENTS are? And so on.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Whwere is this information stored?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 22:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-datasets-and-multiple-macro-parameters-loop-over/m-p/600196#M173418</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-29T22:50:23Z</dc:date>
    </item>
  </channel>
</rss>

