<?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 Where do I find this folder in SAS Viya/Studio? /sastmp/saswork/? in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Where-do-I-find-this-folder-in-SAS-Viya-Studio-sastmp-saswork/m-p/946619#M2627</link>
    <description>&lt;P&gt;I made an SGPLot image and it went there, but I have no idea how to find it.&amp;nbsp;&lt;/P&gt;
&lt;PRE id="pre_sasLog_96" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;NOTE: Listing image output written to /sastmp/saswork/SAS_workXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;/PRE&gt;</description>
    <pubDate>Tue, 08 Oct 2024 01:11:30 GMT</pubDate>
    <dc:creator>telligent</dc:creator>
    <dc:date>2024-10-08T01:11:30Z</dc:date>
    <item>
      <title>Where do I find this folder in SAS Viya/Studio? /sastmp/saswork/?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Where-do-I-find-this-folder-in-SAS-Viya-Studio-sastmp-saswork/m-p/946619#M2627</link>
      <description>&lt;P&gt;I made an SGPLot image and it went there, but I have no idea how to find it.&amp;nbsp;&lt;/P&gt;
&lt;PRE id="pre_sasLog_96" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;NOTE: Listing image output written to /sastmp/saswork/SAS_workXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Oct 2024 01:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Where-do-I-find-this-folder-in-SAS-Viya-Studio-sastmp-saswork/m-p/946619#M2627</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2024-10-08T01:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I find this folder in SAS Viya/Studio? /sastmp/saswork/?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Where-do-I-find-this-folder-in-SAS-Viya-Studio-sastmp-saswork/m-p/946630#M2628</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279298"&gt;@telligent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I made an SGPLot image and it went there, but I have no idea how to find it.&amp;nbsp;&lt;/P&gt;
&lt;PRE id="pre_sasLog_96" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;NOTE: Listing image output written to /sastmp/saswork/SAS_workXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is likely the path to your compute server Work directory. You can verify using code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
 put "Work loc:  %sysfunc(pathname(work))";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Often your Explorer Home doesn't start at root.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my environment Home is /create-export/create/homes/&amp;lt;&amp;amp;sysuserid&amp;gt; and I can only drill into subfolders but not traverse to other locations.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1728361910216.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101020i78E764C216907014/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1728361910216.png" alt="Patrick_0-1728361910216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can via SAS code copy objects from the path under WORK to a location under Home or you can also directly direct the output to there or you can just download the Report in SAS Studio to your local environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below some sample code for SAS Studio for writing the output directly to Home&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Sample data */
data sample_data;
    input X Y;
    datalines;
1 2
2 3
3 5
4 7
5 11
;
run;

/* Specify the output path */
ods html file="&amp;amp;_USERHOME/scatter_plot.html";

/* Create a scatter plot */
proc sgplot data=sample_data;
    scatter x=X y=Y;
    title "Scatter Plot of Sample Data";
    xaxis label="X Axis";
    yaxis label="Y Axis";
run;

ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 04:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Where-do-I-find-this-folder-in-SAS-Viya-Studio-sastmp-saswork/m-p/946630#M2628</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-10-08T04:38:57Z</dc:date>
    </item>
  </channel>
</rss>

