<?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: which one is correct ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862496#M340697</link>
    <description>the answer is B .</description>
    <pubDate>Mon, 06 Mar 2023 15:38:44 GMT</pubDate>
    <dc:creator>tianerhu</dc:creator>
    <dc:date>2023-03-06T15:38:44Z</dc:date>
    <item>
      <title>which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862475#M340687</link>
      <description>&lt;PRE style="position: fixed; left: -1000px;"&gt;proc sort data = sydney.demo out = PSORT;&lt;BR /&gt;  by age descending height weight;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;/* which statement is true regarding the submitted program? &lt;BR /&gt;A.The descending option applies to the variable height.&lt;BR /&gt;B.The variable CODE is sorted by ascending order.&lt;BR /&gt;C.The PSORT data set is sorted in the SASUSER library.&lt;BR /&gt;D.The descending option applies to the DATE and COST variables.&lt;BR /&gt;*/&lt;/PRE&gt;
&lt;PRE style="position: fixed; left: -1000px;"&gt;proc sort data = sydney.demo out = PSORT;&lt;BR /&gt;  by age descending height weight;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;/* which statement is true regarding the submitted program? &lt;BR /&gt;A.The descending option applies to the variable height.&lt;BR /&gt;B.The variable CODE is sorted by ascending order.&lt;BR /&gt;C.The PSORT data set is sorted in the SASUSER library.&lt;BR /&gt;D.The descending option applies to the DATE and COST variables.&lt;BR /&gt;*/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE style="position: fixed; left: -1000px;"&gt;proc sort data = sydney.demo out = PSORT;&lt;BR /&gt;  by age descending height weight;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;/* which statement is true regarding the submitted program? &lt;BR /&gt;A.The descending option applies to the variable height.&lt;BR /&gt;B.The variable CODE is sorted by ascending order.&lt;BR /&gt;C.The PSORT data set is sorted in the SASUSER library.&lt;BR /&gt;D.The descending option applies to the DATE and COST variables.&lt;BR /&gt;*/&lt;/PRE&gt;
&lt;P&gt;The following SAS program is submitted:&lt;/P&gt;
&lt;P&gt;proc sort data = SASUSER.VISIT out = PSORT;&lt;/P&gt;
&lt;P&gt;by code descending date cost;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which statement is true regarding the submitted program?&lt;/P&gt;
&lt;P&gt;A. The descending option applies to the variable CODE.&lt;/P&gt;
&lt;P&gt;B. The variable CODE is sorted by ascending order.&lt;/P&gt;
&lt;P&gt;C. The PSORT data set is stored in the SASUSER library.&lt;/P&gt;
&lt;P&gt;D. The descending option applies to the DATE and COST variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862475#M340687</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2023-03-06T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862476#M340688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268447"&gt;@tianerhu&lt;/a&gt;, what are you thinking so far?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862476#M340688</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2023-03-06T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862494#M340696</link>
      <description>i didn't understand what is descending correctly. &lt;BR /&gt;and now, I think that I have solved it and just want to make sure.</description>
      <pubDate>Mon, 06 Mar 2023 15:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862494#M340696</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2023-03-06T15:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862496#M340697</link>
      <description>the answer is B .</description>
      <pubDate>Mon, 06 Mar 2023 15:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862496#M340697</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2023-03-06T15:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862498#M340699</link>
      <description>&lt;P&gt;So, descending in PROC SORT sorts the variable that comes after it and only it. Otherwise, everything else is sorted ascending if it doesn't have descending specified. I think it is B iirc.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:39:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862498#M340699</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2023-03-06T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: which one is correct ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862500#M340701</link>
      <description>Thank you for your help.</description>
      <pubDate>Mon, 06 Mar 2023 15:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-one-is-correct/m-p/862500#M340701</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2023-03-06T15:47:21Z</dc:date>
    </item>
  </channel>
</rss>

