<?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: ERROR: Data set WORK.TAJ is already open for output. in SAS Global Forum Discussion</title>
    <link>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/925212#M109</link>
    <description>&lt;P&gt;I found that I had given name of same dataset in the data statement. After correcting that, this error got resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My programme was something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TAJ TAJ;
     set indata;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I corrected it to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TAJ;
     set indata;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 10:22:55 GMT</pubDate>
    <dc:creator>DrAbhijeetSafai</dc:creator>
    <dc:date>2024-04-22T10:22:55Z</dc:date>
    <item>
      <title>ERROR: Data set WORK.TAJ is already open for output.</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818445#M89</link>
      <description>&lt;P&gt;When I run SAS macro code, I get the error "Data set WORK.TAJ is already open for output."&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why that could happen?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 22:28:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818445#M89</guid>
      <dc:creator>Tracy29</dc:creator>
      <dc:date>2022-06-15T22:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Data set WORK.TAJ is already open for output.</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818455#M90</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427602"&gt;@Tracy29&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;When I run SAS macro code, I get the error "Data set WORK.TAJ is already open for output."&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is that could happen?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No idea. Posting the ERROR on its own without the code that caused it tells us exactly&amp;nbsp;&lt;U&gt;nothing&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;Please post the code you ran successfully before you tried to make it dynamic with a macro. If you do not have such code, you violated rule #1 of macro development: start with working non-macro code.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 19:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818455#M90</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-15T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Data set WORK.TAJ is already open for output.</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818471#M91</link>
      <description>&lt;P&gt;Do you have the TAJ table open and viewed?&lt;/P&gt;
&lt;P&gt;Usually that's why. Ensure the table is closed before running the macro again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 19:53:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/818471#M91</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-06-15T19:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Data set WORK.TAJ is already open for output.</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/925212#M109</link>
      <description>&lt;P&gt;I found that I had given name of same dataset in the data statement. After correcting that, this error got resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My programme was something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TAJ TAJ;
     set indata;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I corrected it to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TAJ;
     set indata;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 10:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-Discussion/ERROR-Data-set-WORK-TAJ-is-already-open-for-output/m-p/925212#M109</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-04-22T10:22:55Z</dc:date>
    </item>
  </channel>
</rss>

