<?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: order of data sets that appear in window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980484#M378947</link>
    <description>&lt;P&gt;You need to state what GUI interface you are using that is captured in your picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the responses is guessing it is Enterprise Guide.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2025 14:19:45 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2025-12-09T14:19:45Z</dc:date>
    <item>
      <title>order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980360#M378931</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I run code that create data sets in following order.&lt;/P&gt;
&lt;P&gt;Why the data sets appear in different order then order they were created?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ronein_0-1765185983163.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112009i00BDFB75E9CD092D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ronein_0-1765185983163.png" alt="Ronein_0-1765185983163.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let h1=2508; /**YYMM structure**/
%let h2=2507;
%let h3=2506;
%let h4=2505;
%let h5=2504;
%let h6=2503;


%macro Help_Macro_a;
%do j=2 %to 6; 
proc sql;
create table _L_CS_&amp;amp;&amp;amp;h&amp;amp;j. as
select b.lakoach_y as lakoach_Y&amp;amp;h1.,a.*
from L_CS_&amp;amp;&amp;amp;h&amp;amp;j.(Rename=(lakoach_y=lakoach_y_&amp;amp;&amp;amp;h&amp;amp;j.))  as a
inner join L_CS_&amp;amp;h1. as b
on a.lakoach=b.lakoach
;
quit;
%end;
%mend Help_Macro_a;
%Help_Macro_a&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Dec 2025 09:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980360#M378931</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-12-08T09:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980388#M378933</link>
      <description>&lt;P&gt;I am not replicating what you are showing. Can you send the log with the following options turned on:&lt;/P&gt;
&lt;P&gt;options mprint mlogic symbolgen;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 16:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980388#M378933</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-12-08T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980425#M378936</link>
      <description>My question  was- if you look at do loop then the order in which data?sets are created is-2507 &lt;BR /&gt;2506 &lt;BR /&gt;2505&lt;BR /&gt;2504&lt;BR /&gt;2503.&lt;BR /&gt;But when look at output screen can see 5 data sets thst were created but the order of then different.</description>
      <pubDate>Tue, 09 Dec 2025 02:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980425#M378936</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-12-09T02:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980458#M378942</link>
      <description>&lt;P&gt;I understand what you describe and what you show is not the correct order. However, when I run your code with sample data, I get the expected order. I have included my screenshot. Please include your SAS log with the options requested and clarify where you are running the code and which version.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="communities.png" style="width: 166px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112052i6F7BB9B2B503F37F/image-size/large?v=v2&amp;amp;px=999" role="button" title="communities.png" alt="communities.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980458#M378942</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-12-09T12:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980462#M378944</link>
      <description>&lt;P&gt;Can replicate your problem with EG 8.5 or 8.6 - maybe a problem with an older version or with some option set in EG itself.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980462#M378944</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2025-12-09T12:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980484#M378947</link>
      <description>&lt;P&gt;You need to state what GUI interface you are using that is captured in your picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the responses is guessing it is Enterprise Guide.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 14:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980484#M378947</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-12-09T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: order of data sets that appear in window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980523#M378953</link>
      <description>&lt;P&gt;Two chars are missing in my previous post:&lt;/P&gt;
&lt;P&gt;Can&lt;FONT size="5" color="#FF6600"&gt;'t&lt;/FONT&gt; replicate your problem with EG 8.5 or 8.6 - maybe a problem with an older version or with some option set in EG itself.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 07:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/order-of-data-sets-that-appear-in-window/m-p/980523#M378953</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2025-12-10T07:20:26Z</dc:date>
    </item>
  </channel>
</rss>

