<?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: p106a05.sas &amp;amp; PPTX Not Appearing in Output Folder in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988634#M380135</link>
    <description>&lt;P&gt;Hi:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; An additional note. If you are using the SAS OnDemand server for your work, you will need to download the PPTX file, as instructed in the activity because the OnDemand server does not open PPTX files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is a shortened version of the code I use on the OnDemand server for this activity. If you are using some other interface for your activities and exercises, then you should only need to change the path location in the %LET and LIBNAME statements to run in your environment. On the SAS OnDemand server, each user has a unique userID, which you should see when you check the Properties on any folder under the Files (Home) location:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;** For SAS OnDemand for Academics server solution p106a05;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;%let &lt;FONT color="#0000FF"&gt;outpath&lt;/FONT&gt;=&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;youruserID&amp;gt;/EPG1V2&lt;/FONT&gt;/&lt;FONT color="#0000FF"&gt;output&lt;/FONT&gt;;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname &lt;FONT color="#339966"&gt;pg1&lt;/FONT&gt; '&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;youruserID&amp;gt;/EPG1V2&lt;/FONT&gt;/&lt;FONT color="#339966"&gt;data&lt;/FONT&gt;';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods powerpoint file="&lt;FONT color="#0000FF"&gt;&amp;amp;outpath&lt;/FONT&gt;/pressure.pptx" style=powerpointlight;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;*** your code that produces output using the &lt;FONT color="#339966"&gt;pg1&lt;/FONT&gt; library SAS data***;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods powerpoint close;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2026 17:29:55 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2026-05-23T17:29:55Z</dc:date>
    <item>
      <title>p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988623#M380131</link>
      <description>&lt;P&gt;I'm trying to figure out how to get the PPTX to show up in the output folder. I'm just on step 1, and it isn't popping up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and this error, I think this has been addressed in a previous post, and the consensus was it was an error message, just not turned off by the practice program creator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Physical file does not exist&amp;nbsp;C:\Users\learnsas-16391\&amp;amp;outpath\pressure.pptx.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2026 22:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988623#M380131</guid>
      <dc:creator>ivarenho</dc:creator>
      <dc:date>2026-05-22T22:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988625#M380132</link>
      <description>&lt;P&gt;Looks like you forgot to define the OUTPATH macro variable before using it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or possibly you are using single quotes instead double quotes.&amp;nbsp; The macro processor ignores the text inside of strings bounded by single quotes, &amp;amp;outpath in '&amp;amp;output/pressure.pptx' will not be replaced with the value of the OUTPATH macro variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 03:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988625#M380132</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-05-23T03:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988631#M380133</link>
      <description>&lt;P&gt;Thank you! I went ahead and defined the macro. I don't know how to correct the issue with the output features being disabled. Please see the note below. I'm also still getting the error that the file doesn't exist, which must be due to the output feature being disabled.&lt;/P&gt;&lt;P&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 13:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988631#M380133</guid>
      <dc:creator>ivarenho</dc:creator>
      <dc:date>2026-05-23T13:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988633#M380134</link>
      <description>&lt;P&gt;SAS Studio uses ODS to fetch output for display in your browser. By issuing your own ODS statements, you&amp;nbsp;&lt;EM&gt;might&lt;/EM&gt; interfere with this. That's what this NOTE tells you.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 16:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988633#M380134</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-05-23T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988634#M380135</link>
      <description>&lt;P&gt;Hi:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; An additional note. If you are using the SAS OnDemand server for your work, you will need to download the PPTX file, as instructed in the activity because the OnDemand server does not open PPTX files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is a shortened version of the code I use on the OnDemand server for this activity. If you are using some other interface for your activities and exercises, then you should only need to change the path location in the %LET and LIBNAME statements to run in your environment. On the SAS OnDemand server, each user has a unique userID, which you should see when you check the Properties on any folder under the Files (Home) location:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;** For SAS OnDemand for Academics server solution p106a05;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;%let &lt;FONT color="#0000FF"&gt;outpath&lt;/FONT&gt;=&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;youruserID&amp;gt;/EPG1V2&lt;/FONT&gt;/&lt;FONT color="#0000FF"&gt;output&lt;/FONT&gt;;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname &lt;FONT color="#339966"&gt;pg1&lt;/FONT&gt; '&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;youruserID&amp;gt;/EPG1V2&lt;/FONT&gt;/&lt;FONT color="#339966"&gt;data&lt;/FONT&gt;';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods powerpoint file="&lt;FONT color="#0000FF"&gt;&amp;amp;outpath&lt;/FONT&gt;/pressure.pptx" style=powerpointlight;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;*** your code that produces output using the &lt;FONT color="#339966"&gt;pg1&lt;/FONT&gt; library SAS data***;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods powerpoint close;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 17:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988634#M380135</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2026-05-23T17:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988635#M380136</link>
      <description>&lt;P&gt;But the ODS statement was already written and put into the SAS studio for the practice exercise, I'm just not sure how to correct the issue and get the output to appear.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 18:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988635#M380136</guid>
      <dc:creator>ivarenho</dc:creator>
      <dc:date>2026-05-23T18:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988637#M380137</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/480946"&gt;@ivarenho&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you! I went ahead and defined the macro. I don't know how to correct the issue with the output features being disabled. Please see the note below. I'm also still getting the error that the file doesn't exist, which must be due to the output feature being disabled.&lt;/P&gt;
&lt;P&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Did you use double quotes to make the string literal you passed to the FILE= option of the ODS statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key word in the note you got was MAY.&amp;nbsp; It is only a problem if you change the ODS destinations that SAS/Studio (or perhaps Enterprise Guide) is using.&amp;nbsp; &amp;nbsp;You can see what what destinations are open by looking at the contents of SASHELP.VDEST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 73         
 74         filename pptx '~/example.pptx';
 75         *ods powerpoint file=pptx;
 76         proc print data=sashelp.vdest ;
 77         run;
 
 NOTE: There were 3 observations read from the data set SASHELP.VDEST.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.02 seconds
       cpu time            0.03 seconds
       
 
 78         *ods powerpoint close;
 79         
 80         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 92   &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-05-23 at 2.27.13 PM.png" style="width: 378px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/115323iE87B42B2BC9C9D9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-05-23 at 2.27.13 PM.png" alt="Screenshot 2026-05-23 at 2.27.13 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So as long as you don't use HTML5(WEB) or RTF(WEB) or PDF(WEB) in your ODS statements they will not conflict with the destinations that SAS/Studio is using for its record keeping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also notice that the NOTE appears even though the ODS statements are inside comments. The NOTE is apparently triggered by some scan of the submitted code that SAS/Studio does BEFORE it sends the code to SAS to run and not by SAS itself.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 18:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988637#M380137</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-05-23T18:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988638#M380138</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/480946"&gt;@ivarenho&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But the ODS statement was already written and put into the SAS studio for the practice exercise, I'm just not sure how to correct the issue and get the output to appear.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Fix the filename used in the ODS statement to make sure it points to a valid file on your SAS server.&amp;nbsp; If you want to use a macro variable reference then make sure to use double quotes to form the string literal that contains the filename.&lt;/P&gt;
&lt;P&gt;For example these two lines will point the ODS POWERPOINT output to a file named powerpoint.pptx in your home directory on a Unix server.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let outpath=~;
ods powerpoint file="&amp;amp;outpath/powerpoint.pptx";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But if you using single quotes then SAS would try to make a file named literally &amp;amp;outpath/powerpoint.pptx in the current working directory, which is probably not a location that you have permission to write a file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 18:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988638#M380138</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-05-23T18:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988640#M380139</link>
      <description>&lt;P&gt;I have been using the double quotation marks, but I'm still getting the same errors. I tried defining the file and its type as pptx.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 23:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988640#M380139</guid>
      <dc:creator>ivarenho</dc:creator>
      <dc:date>2026-05-23T23:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988641#M380140</link>
      <description>&lt;P&gt;I have been using double quotation marks; I haven't changed the output location, as far as I can tell. I just ran the practice code and got that error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 23:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988641#M380140</guid>
      <dc:creator>ivarenho</dc:creator>
      <dc:date>2026-05-23T23:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: p106a05.sas &amp; PPTX Not Appearing in Output Folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988642#M380141</link>
      <description>&lt;P&gt;There is something you are not seeing.&lt;/P&gt;
&lt;P&gt;Copy the lines from the SAS log and paste into this forum in the pop-up box that appears when you hit the Insert Code icon (looks like &amp;lt; / &amp;gt; ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Include from the point where you define the macro variable to the the ERROR message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAS ODA I was able to create an example where a minor change causes an error.&lt;/P&gt;
&lt;P&gt;Working Code Example:&lt;/P&gt;
&lt;PRE&gt; 74         %let outpath=~;
 75         ods powerpoint file="&amp;amp;outpath/example.pptx";
 76         proc means data=sashelp.class;
 77         run;
 
 NOTE: There were 19 observations read from the data set SASHELP.CLASS.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.05 seconds
       cpu time            0.06 seconds
       
 
 78         ods powerpoint close;
 NOTE: Writing POWERPOINT file: ~/example.pptx
 &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Failing code example:&lt;/P&gt;
&lt;PRE&gt; 74         %let outpath=~;
 75         ods powerpoint file="&amp;amp;outpath\example.pptx";
 76         proc means data=sashelp.class;
 77         run;
 
 NOTE: There were 19 observations read from the data set SASHELP.CLASS.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.05 seconds
       cpu time            0.05 seconds
       
 
 78         ods powerpoint close;
 ERROR: Invalid physical name.&lt;/PRE&gt;
&lt;P&gt;Can you see the difference?&lt;/P&gt;
&lt;LI-SPOILER&gt;The forward slash, / , was changed to a backslash, \.&lt;BR /&gt;&lt;BR /&gt;Unix the backslash character, \ , is used as an Escape character.&amp;nbsp; It means that the next character should be taken literally instead of having some specially meaning. In this case since the next character has no special meaning the backslash does nothing. Causing SAS to merge my username with the filename.&lt;BR /&gt;&lt;BR /&gt;So instead of trying to create a file in my home directory SAS tried to create file in the parent directory of my home directory using a file name made up of my username with example.pptx appended to it.&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 24 May 2026 01:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/p106a05-sas-amp-PPTX-Not-Appearing-in-Output-Folder/m-p/988642#M380141</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-05-24T01:01:16Z</dc:date>
    </item>
  </channel>
</rss>

