<?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 SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507970#M1561</link>
    <description>&lt;P&gt;PROC REG is an &lt;STRONG&gt;interactive&lt;/STRONG&gt; procedure. That means that it does not exit when you&amp;nbsp;execute a RUN statement. Instead, it remains running, waiting to see whether you are going to submit more statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;procedure has opened a data set for writing and the data set will remain open until you use a QUIT statement or execute a new procedure. Thus the solution&amp;nbsp;is to put the statement&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;at the end of your&amp;nbsp;program. That will close the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Oct 2018 11:06:46 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2018-10-27T11:06:46Z</dc:date>
    <item>
      <title>Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because WORK</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507964#M1560</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a message error and i don't find the cause, I think maybe it's some configuration. I'm doing a proc reg and i need to have the residuals in a dataset. But the first time i run the program the dataset 'prevrest' is not generated and the second time i run the program, i see the dataset in work librery but when i try to open i have the message of the picture.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found here another post about the problem but the solution was 'restart' the pc and i tried that but&amp;nbsp;the problem persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is with SAS 9.4,&amp;nbsp;I have executed exactly the same code in entreprise guide and that works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody could help me ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much !&lt;/P&gt;&lt;P&gt;Lucia&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data house ; 
	set "D:\Users\lucia\Documentos\housing";
	prix_au_feet2 = price / lotsize ;
run ;

proc reg data=house ; 
	model price = lotsize bathrms ; 
	output out=prevrest p=prev r=res ; 
run ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error sas.PNG" style="width: 567px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24426i1D251A72529E5DAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="error sas.PNG" alt="error sas.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log.PNG" style="width: 488px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24428i6A2F3F78009CEFF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.PNG" alt="log.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 09:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507964#M1560</guid>
      <dc:creator>luciacossaro</dc:creator>
      <dc:date>2018-10-27T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507970#M1561</link>
      <description>&lt;P&gt;PROC REG is an &lt;STRONG&gt;interactive&lt;/STRONG&gt; procedure. That means that it does not exit when you&amp;nbsp;execute a RUN statement. Instead, it remains running, waiting to see whether you are going to submit more statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;procedure has opened a data set for writing and the data set will remain open until you use a QUIT statement or execute a new procedure. Thus the solution&amp;nbsp;is to put the statement&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;at the end of your&amp;nbsp;program. That will close the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 11:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507970#M1561</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-27T11:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507971#M1562</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try running it in a fresh session.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clear any file which is opened, you could try the code below. Run this code to close any open file and then run your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro close_all_dsid;
  %local i rc;
  %do i=1 %to 1000;
    %let rc=%sysfunc(close(&amp;amp;i));
  %end;
%mend;
%close_all_dsid;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Oct 2018 10:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507971#M1562</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-10-27T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507972#M1563</link>
      <description>&lt;P&gt;Rename it .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=house ; 
	model price = lotsize bathrms ; 
	output out=prevrest_whatever p=prev r=res ; 
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Oct 2018 10:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507972#M1563</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-10-27T10:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507978#M1565</link>
      <description>&lt;P&gt;Thanks you, that was the problem, now it's work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understad why thant happens with sas 9.4 and not with entreprise guide.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 11:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507978#M1565</guid>
      <dc:creator>luciacossaro</dc:creator>
      <dc:date>2018-10-27T11:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507979#M1566</link>
      <description>&lt;P&gt;Because EG automatically appends a QUIT statement to the end of the SAS code that it submits.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 11:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/507979#M1566</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-27T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/644059#M21946</link>
      <description>&lt;P&gt;What other steps do you recommend if the quit statement is present yet the error still appears when executing SQL?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 19:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/644059#M21946</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2020-04-29T19:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error SAS ERROR: You cannot open WORK.T.DATA for input access with record-level control because</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/644061#M21947</link>
      <description>&lt;P&gt;I recommend that you start a new thread and show the code you are using and the log that contains the error.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 19:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-SAS-ERROR-You-cannot-open-WORK-T-DATA-for-input-access/m-p/644061#M21947</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-04-29T19:46:17Z</dc:date>
    </item>
  </channel>
</rss>

