<?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 Reading Spreadsheet data in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312277#M21080</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to I resolve the error below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;21&lt;BR /&gt;22 GOPTIONS ACCESSIBLE;&lt;BR /&gt;23 options validvarname=v7;&lt;BR /&gt;24 %let path=\\dpc4-75617d\C$\Users\MathapeloPh\Desktop\Move_9093777\Listing Files\Output_Files_Sent_to_Field;&lt;BR /&gt;25&lt;BR /&gt;26 libname fieldx xlsx "\\%path\PSUs_Segments_161116.xls";&lt;BR /&gt;WARNING: Apparent invocation of macro PATH not resolved.&lt;BR /&gt;NOTE: Libref FIELDX was successfully assigned as follows:&lt;BR /&gt;Engine: XLSX&lt;BR /&gt;Physical Name: \\%path\PSUs_Segments_161116.xls&lt;BR /&gt;27&lt;BR /&gt;28&lt;BR /&gt;29 proc contents data=fieldx._ALL_;&lt;BR /&gt;30 run;&lt;/P&gt;&lt;P&gt;WARNING: No matching members in directory.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2016 10:51:14 GMT</pubDate>
    <dc:creator>MathapeloPh</dc:creator>
    <dc:date>2016-11-17T10:51:14Z</dc:date>
    <item>
      <title>Reading Spreadsheet data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312277#M21080</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to I resolve the error below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;21&lt;BR /&gt;22 GOPTIONS ACCESSIBLE;&lt;BR /&gt;23 options validvarname=v7;&lt;BR /&gt;24 %let path=\\dpc4-75617d\C$\Users\MathapeloPh\Desktop\Move_9093777\Listing Files\Output_Files_Sent_to_Field;&lt;BR /&gt;25&lt;BR /&gt;26 libname fieldx xlsx "\\%path\PSUs_Segments_161116.xls";&lt;BR /&gt;WARNING: Apparent invocation of macro PATH not resolved.&lt;BR /&gt;NOTE: Libref FIELDX was successfully assigned as follows:&lt;BR /&gt;Engine: XLSX&lt;BR /&gt;Physical Name: \\%path\PSUs_Segments_161116.xls&lt;BR /&gt;27&lt;BR /&gt;28&lt;BR /&gt;29 proc contents data=fieldx._ALL_;&lt;BR /&gt;30 run;&lt;/P&gt;&lt;P&gt;WARNING: No matching members in directory.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 10:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312277#M21080</guid>
      <dc:creator>MathapeloPh</dc:creator>
      <dc:date>2016-11-17T10:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Spreadsheet data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312286#M21081</link>
      <description>&lt;P&gt;A macro &lt;U&gt;variable&lt;/U&gt; needs to be adressed as &amp;amp;name. %name would call a &lt;U&gt;macro&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname fieldx xlsx "\\&amp;amp;path.\PSUs_Segments_161116.xls";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also note the dot after the macro variable; this makes sure that the macro processor stops scanning for further characters when building the macro variable name.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312286#M21081</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-11-17T11:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Spreadsheet data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312288#M21082</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser﻿&lt;/a&gt;&amp;nbsp;the libname was successfully assigned. Kindly check the warning below it as I now try to read sheets inside the file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname fieldx xlsx "\\&amp;amp;path.\PSUs_Segments_161116.xls";&lt;BR /&gt;NOTE: Libref FIELDX was successfully assigned as follows:&lt;BR /&gt;Engine: XLSX&lt;BR /&gt;Physical Name: \\\\dpc4-75617d\C$\Users\MathapeloPh\Desktop\Move_9093777\Listing&lt;BR /&gt;Files\Output_Files_Sent_to_Field\PSUs_Segments_161116.xls&lt;BR /&gt;27&lt;BR /&gt;28&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;29 proc contents data=fieldx._ALL_;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;30 run;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;WARNING: No matching members in directory.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312288#M21082</guid>
      <dc:creator>MathapeloPh</dc:creator>
      <dc:date>2016-11-17T11:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Spreadsheet data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312296#M21083</link>
      <description>&lt;P&gt;I guess that happens because proc contents (or the contents statement in the datasets procedure) are meant for SAS datasets.&lt;/P&gt;
&lt;P&gt;Try this instead:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=fieldx;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:12:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Spreadsheet-data/m-p/312296#M21083</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-11-17T12:12:18Z</dc:date>
    </item>
  </channel>
</rss>

