<?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: Accessing information from a SAS procedures auxilary info/leading information? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Accessing-information-from-a-SAS-procedures-auxilary-info/m-p/140975#M261525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sort data=sashelp.class out=class; by sex age; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc surveyselect data=class out=test sampsize=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;strata sex;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods output summary=classSummary;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print data=classSummary; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or simply choose your own &lt;STRONG&gt;seed=&lt;/STRONG&gt; option on the &lt;STRONG&gt;proc surveyselect&lt;/STRONG&gt; statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 17:23:02 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2014-07-29T17:23:02Z</dc:date>
    <item>
      <title>Accessing information from a SAS procedures auxilary info/leading information?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-information-from-a-SAS-procedures-auxilary-info/m-p/140974#M261524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Specifically. the surveyselect procedure.&amp;nbsp; It prints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="c proctitle"&gt;The SURVEYSELECT Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV align="center"&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Surveyselect: Sample Selection Method"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Selection Method&lt;/TH&gt;&lt;TD class="r data"&gt;Simple Random Sampling&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Strata Variable&lt;/TH&gt;&lt;TD class="r data"&gt;STRATA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="IDX86"&gt;&lt;/A&gt;&lt;/P&gt;&lt;DIV align="center"&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Surveyselect: Sample Selection Summary"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Input Data Set&lt;/TH&gt;&lt;TD class="r data"&gt;FRAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Random Number Seed&lt;/TH&gt;&lt;TD class="r data"&gt;78070001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Stratum Sample Size&lt;/TH&gt;&lt;TD class="r data"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Number of Strata&lt;/TH&gt;&lt;TD class="r data"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Total Sample Size&lt;/TH&gt;&lt;TD class="r data"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;Output Data Set&lt;/TH&gt;&lt;TD class="r data"&gt;SAMPLESTRATA4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV align="center"&gt;&lt;DIV align="center"&gt; &lt;/DIV&gt;&lt;DIV align="center"&gt; &lt;/DIV&gt;&lt;DIV align="center"&gt;after the procedure is performed which is great, but is there a way that I can access this through SAS code?&amp;nbsp; I want to be able to find&amp;nbsp; &lt;SPAN style="text-align: center;"&gt;Random Number Seed and this information to access it and write the seed as a macro variable.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="center"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; text-align: left;"&gt;Thanks..&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-information-from-a-SAS-procedures-auxilary-info/m-p/140974#M261524</guid>
      <dc:creator>zscott1</dc:creator>
      <dc:date>2014-07-29T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing information from a SAS procedures auxilary info/leading information?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-information-from-a-SAS-procedures-auxilary-info/m-p/140975#M261525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sort data=sashelp.class out=class; by sex age; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc surveyselect data=class out=test sampsize=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;strata sex;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods output summary=classSummary;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print data=classSummary; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or simply choose your own &lt;STRONG&gt;seed=&lt;/STRONG&gt; option on the &lt;STRONG&gt;proc surveyselect&lt;/STRONG&gt; statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 17:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-information-from-a-SAS-procedures-auxilary-info/m-p/140975#M261525</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-07-29T17:23:02Z</dc:date>
    </item>
  </channel>
</rss>

