<?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: PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608841#M177235</link>
    <description>&lt;P&gt;I can't see anything special there. Try PROC CATALOG on WORK.PROFILE&amp;nbsp; - is it creating a report profile like the PROC REPORT PROFILE = option does?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 20:37:37 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-12-02T20:37:37Z</dc:date>
    <item>
      <title>PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608787#M177204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm migrating a batch job to a new server, and have a weird problem where a PROC REPORT step is throwing the Unable to open SASUSER.PROFILE note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: Multiple concurrent threads will be used to summarize data.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: There were 4 observations read from the data set WORK.FOO.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.02 seconds
      cpu time            0.03 seconds
&lt;/PRE&gt;
&lt;P&gt;I'm used to seeing that note at the top of a log if I start a SAS session while I have another SAS session running (and don't have -RSASUSER set).&amp;nbsp; But I've never before seen it in the &lt;EM&gt;middle&lt;/EM&gt; of a log.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did see the note about multiple concurrent threads, is it possibly relevant, i.e. could each thread be trying to open the profile for some reason?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code is running on SAS 9.4M6 on a linux server.&amp;nbsp; It's running as a scheduled DI job (batch job), under an admin user account.&amp;nbsp; I checked the full log, I do NOT see the note at the top of the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run it myself (in EG) I don't get the note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know I could ignore the note, but I'm curious enough to ask whether anyone has seen this note in the middle of a log before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 17:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608787#M177204</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-12-02T17:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608820#M177219</link>
      <description>&lt;P&gt;I can only assume that you are using a PROC REPORT setting that would normally be stored in SASUSER.PROFILE. Perhaps checking the contents of WORK.PROFILE will give you some clues. You could also post your REPORT code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have the SASUSER library set to read-only on all our SAS sessions but I've never seen that note on our REPORT steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608820#M177219</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-02T19:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608826#M177223</link>
      <description>&lt;P&gt;Interesting. I don't think there's anything special in the PROC REPORT code, essentially:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing close;
ods html file="/saswork/.../__joblogreport.htm" style=journal options(pagebreak="No");

ods text="4 DI Jobs were run in the past 24 hours.";
proc report data=__joblog(where=(Type="DI Job")) nowd split='~';
column Fail Program Rundate Mode Comment BadLogMsgCount Log;
define Fail/display noprint;
define Program/display ;
define Rundate/display;
define Mode/display;
define Comment/display;
define BadLogMsgCount/display;
define Log/display;
compute Log;
if Fail=1 then do;
call define(_ROW_,'style','style=[background=YELLOW]');
end;
endcomp;
run;

ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Agree, SASUSER makes sense, I should probably just ask the admin to turn it on.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608826#M177223</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-12-02T19:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608841#M177235</link>
      <description>&lt;P&gt;I can't see anything special there. Try PROC CATALOG on WORK.PROFILE&amp;nbsp; - is it creating a report profile like the PROC REPORT PROFILE = option does?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/608841#M177235</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-02T20:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT step throws NOTE: Unabel to open SASUSER.PROFILE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/609040#M177298</link>
      <description>I didn't even know PROC REPORT had a profile= option.  : )  Thanks, will play with this a bit.  But will take some time, as the job runs nightly and I can't replicate the problem when I submit it myself.</description>
      <pubDate>Tue, 03 Dec 2019 13:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-step-throws-NOTE-Unabel-to-open-SASUSER-PROFILE/m-p/609040#M177298</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-12-03T13:40:43Z</dc:date>
    </item>
  </channel>
</rss>

