<?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: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417865#M19934</link>
    <description>ballardw,&lt;BR /&gt;Thanks for your reply. both "/tmp/testxlsx.xlsx" and 'FIPDJG.TESTXLSX' are fully qualified file names or paths. The former is a USS path, while the latter is a traditional mainframe dataset.&lt;BR /&gt;</description>
    <pubDate>Fri, 01 Dec 2017 21:15:50 GMT</pubDate>
    <dc:creator>David_Gelb</dc:creator>
    <dc:date>2017-12-01T21:15:50Z</dc:date>
    <item>
      <title>Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417837#M19932</link>
      <description>&lt;P&gt;I understand that ODS EXCEL is still "experimental", but does it work at all on z/OS (mainframe)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use it, I get an "Invalid physical name" upon executing ODS EXCEL close.&lt;/P&gt;&lt;P&gt;This happens when the destination file is either specified as a unix system services file,&lt;/P&gt;&lt;P&gt;or an old fashioned data set allocated as either RECFM=U or RECFM=VB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not get such a message when trying to do something similar when using PC SAS 9.4 TS1M1,&lt;/P&gt;&lt;P&gt;and am able to use it to produce an .xlsx file with the contents of SASHELP.CLASS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1    filename te1 '/tmp/tstx1.xlsx';
2    ods excel file=te1;
3    proc print data=sashelp.class;
4    run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The PROCEDURE PRINT used 0.09 CPU seconds.


5    ods excel close;
NOTE: Writing EXCEL file: /tmp/tstx1.xlsx
ERROR: Invalid physical name.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;6    filename te1 'FIPDJG.TESTXLSX' disp=old;
7    ods excel file=te1;
8    proc print data=sashelp.class;
9    run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The PROCEDURE PRINT used 0.08 CPU seconds.


10   ods excel close;
NOTE: Writing EXCEL file: FIPDJG.TESTXLSX
ERROR: Invalid physical name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417837#M19932</guid>
      <dc:creator>David_Gelb</dc:creator>
      <dc:date>2017-12-01T20:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417845#M19933</link>
      <description>&lt;P&gt;I suggesting using a full path in the filename or file reference. Otherwise the output is likely to direct to a default location where SAS is executing and you are likely not to have permissions to write files there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your second filename statement:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token number"&gt;6&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token statement"&gt;filename&lt;/SPAN&gt; te1 &lt;SPAN class="token string"&gt;'FIPDJG.TESTXLSX'&lt;/SPAN&gt; disp&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;old&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;does not have the /tmp/ at the beginning that is the most likely cause of the error message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417845#M19933</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-01T20:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417865#M19934</link>
      <description>ballardw,&lt;BR /&gt;Thanks for your reply. both "/tmp/testxlsx.xlsx" and 'FIPDJG.TESTXLSX' are fully qualified file names or paths. The former is a USS path, while the latter is a traditional mainframe dataset.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2017 21:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417865#M19934</guid>
      <dc:creator>David_Gelb</dc:creator>
      <dc:date>2017-12-01T21:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417884#M19935</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/180567"&gt;@David_Gelb&lt;/a&gt; wrote:&lt;BR /&gt;ballardw,&lt;BR /&gt;Thanks for your reply. both "/tmp/testxlsx.xlsx" and 'FIPDJG.TESTXLSX' are fully qualified file names or paths. The former is a USS path, while the latter is a traditional mainframe dataset.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;We may have a jargon difference. To me "fully qualified" means starting from a drive mount point or similar. With windows that means either start with a drive such as "C:\mypath\otherfolder\file.txt" or a server&amp;nbsp;UNC reference. With Unix often that starts at /usr/...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's been 30 years since I worked with an IBM&amp;nbsp;mainframe and I don't remember writing to anything that wasn't defined in the JCL before the SAS code executed. But that was all batch submission so I have no clue what may have changed in that time period. I'm not sure the entire error information gets sent to the SAS log but may be in the job log from the OS.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 23:01:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417884#M19935</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-01T23:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417916#M19936</link>
      <description>&lt;P&gt;Try adding an OPTIONS FILESYSTEM=HFS; statement to your code.&amp;nbsp; I forget what release of SAS I had to put that in to get it to recognize USS files.&amp;nbsp; I won't guarantee that it will fix it but it is necessary for at least 9.4 or better.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 02:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417916#M19936</guid>
      <dc:creator>jimhorne</dc:creator>
      <dc:date>2017-12-02T02:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does ODS EXCEL work on mainframe / z/OS under V9R4M2 ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417917#M19937</link>
      <description>&lt;P&gt;Maybe this link will help. Its an old one but it does include examples of using the EXCELXP tagset on mainframes. If you can get these working it might work for ODS EXCEL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf" target="_blank"&gt;http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 02:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-ODS-EXCEL-work-on-mainframe-z-OS-under-V9R4M2/m-p/417917#M19937</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-12-02T02:12:54Z</dc:date>
    </item>
  </channel>
</rss>

