<?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: Why doesn't this create two datasets? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865291#M26223</link>
    <description>&lt;P&gt;Nevermind, the issue was caused by using "run" at the end of my proc glm. Removing 'run' fixes the issue. What a stupid, unnecessary problem with an obtuse, nonsensical solution. This is why nobody uses SAS anymore.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 18:51:27 GMT</pubDate>
    <dc:creator>toomanystepsint</dc:creator>
    <dc:date>2023-03-20T18:51:27Z</dc:date>
    <item>
      <title>Why doesn't this create two datasets?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865289#M26222</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods output ModelANOVA = table1;
proc glm data=mydata;
class var1 var2;
model dependent = var1;
run;

ods output ModelANOVA = table2;
proc glm data=mydata;
class var1 var2;
model dependent = var1 var2;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can run each of these individually and it indeed gives me table1 and table2 as I expect them to look, with everything I need. But when I run both in the same go I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;WARNING: Output 'ModelANOVA' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As you can see the noprint option is not used. Again, the code runs correctly if I run it separately, which tells me the issue isn't with the variables being misspelled or anything, but running both causes the second table to not be created. Why?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865289#M26222</guid>
      <dc:creator>toomanystepsint</dc:creator>
      <dc:date>2023-03-20T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this create two datasets?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865291#M26223</link>
      <description>&lt;P&gt;Nevermind, the issue was caused by using "run" at the end of my proc glm. Removing 'run' fixes the issue. What a stupid, unnecessary problem with an obtuse, nonsensical solution. This is why nobody uses SAS anymore.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865291#M26223</guid>
      <dc:creator>toomanystepsint</dc:creator>
      <dc:date>2023-03-20T18:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this create two datasets?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865294#M26224</link>
      <description>&lt;P&gt;Interactive procedures preceded ODS by decades. Interactive procedures do not end until they hit a QUIT statement. If you put ODS OUTPUT statements after the PROC statement and appropriately end interactive procedures, everything will work as you expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/statug/15.3/statug_ods_examples06.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/statug/15.3/statug_ods_examples06.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-doesn-t-this-create-two-datasets/m-p/865294#M26224</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2023-03-20T19:09:34Z</dc:date>
    </item>
  </channel>
</rss>

