<?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: Errors in Importing Excel Data from a Single Worksheet in SAS Data &amp; AI Studio</title>
    <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990414#M11571</link>
    <description>&lt;P&gt;Thank you so much for your comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I regret not to ask directly.&lt;/P&gt;&lt;P&gt;My code was initially as like this:&lt;/P&gt;&lt;P&gt;proc import Datafile= "&amp;nbsp;/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here error happened because "practices" is over 8 characters.&amp;nbsp; In this situation, how I can circumvent the 9 characters of practice to avoid errors?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your generous comment.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2026 22:14:56 GMT</pubDate>
    <dc:creator>mkSAS1</dc:creator>
    <dc:date>2026-07-01T22:14:56Z</dc:date>
    <item>
      <title>Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990335#M11569</link>
      <description>&lt;P&gt;Dear SAS&amp;nbsp; community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following asignment:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this practice, you will create a table that contains a copy of the data that from an Excel workbook. The Excel workbook contains a single worksheet. &lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Open &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;p102p01.sas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; from the &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;practices&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; folder. Complete the PROC IMPORT step to read &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;eu_sport_trade.xlsx&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;. Be sure the replace FILEPATH with the path to your &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;EPG1V2 &amp;gt; data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Create a SAS table named &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;eu_sport_trade&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; and replace the table if it exists. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Modify the PROC CONTENTS code to display the descriptor portion of the &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;eu_sport_trade&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; table. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Submit the program, and then view the output data and the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;=========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my code was set up as follows and got errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;libname pps "/home/u63717210/EPG1V2/practices";&lt;/DIV&gt;&lt;DIV&gt;proc import Datafile= "pps/p102p01.sas/eu_sport_trade.xlsx"&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DBMS=xlsx&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;out=pps.eu_sport_trade replace;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;proc contents data=pps.eu_sport_trade;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOG:&lt;/P&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 ***********************************************************;&lt;/DIV&gt;&lt;DIV class=""&gt;70 * LESSON 2, PRACTICE 1 *;&lt;/DIV&gt;&lt;DIV class=""&gt;71 * a) Complete the PROC IMPORT step to read *;&lt;/DIV&gt;&lt;DIV class=""&gt;72 * EU_SPORT_TRADE.XLSX. Create a SAS table named *;&lt;/DIV&gt;&lt;DIV class=""&gt;73 * EU_SPORT_TRADE and replace the table *;&lt;/DIV&gt;&lt;DIV class=""&gt;74 * if it exists. *;&lt;/DIV&gt;&lt;DIV class=""&gt;75 * b) Modify the PROC CONTENTS code to display the *;&lt;/DIV&gt;&lt;DIV class=""&gt;76 * descriptor portion of the EU_SPORT_TRADE table. *;&lt;/DIV&gt;&lt;DIV class=""&gt;77 * Submit the program, and then view the output data *;&lt;/DIV&gt;&lt;DIV class=""&gt;78 * and the results. *;&lt;/DIV&gt;&lt;DIV class=""&gt;79 ***********************************************************;&lt;/DIV&gt;&lt;DIV class=""&gt;80 libname pps "/home/u63717210/EPG1V2/practices";&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref PPS was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u63717210/EPG1V2/practices&lt;/DIV&gt;&lt;DIV class=""&gt;81 proc import Datafile= "pps/p102p01.sas/eu_sport_trade.xlsx"&lt;/DIV&gt;&lt;DIV class=""&gt;82 DBMS=xlsx&lt;/DIV&gt;&lt;DIV class=""&gt;83 out=pps.eu_sport_trade replace;&lt;/DIV&gt;&lt;DIV class=""&gt;84 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/pps/p102p01.sas/eu_sport_trade.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 2657.62k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 22260.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/01/2026 12:55:07 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 80 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 638&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 4&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;85&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;86 proc contents data=pps.eu_sport_trade;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: File PPS.EU_SPORT_TRADE.DATA does not exist.&lt;/DIV&gt;&lt;DIV class=""&gt;87 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 476.75k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 20132.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/01/2026 12:55:07 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 81 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 51&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 4&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 8&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;88&lt;/DIV&gt;&lt;DIV class=""&gt;89&lt;/DIV&gt;&lt;DIV class=""&gt;90 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;100&lt;/DIV&gt;&lt;DIV class=""&gt;---------&lt;/DIV&gt;&lt;DIV class=""&gt;ERROS:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 ***********************************************************;&lt;/DIV&gt;&lt;DIV class=""&gt;70 * LESSON 2, PRACTICE 1 *;&lt;/DIV&gt;&lt;DIV class=""&gt;71 * a) Complete the PROC IMPORT step to read *;&lt;/DIV&gt;&lt;DIV class=""&gt;72 * EU_SPORT_TRADE.XLSX. Create a SAS table named *;&lt;/DIV&gt;&lt;DIV class=""&gt;73 * EU_SPORT_TRADE and replace the table *;&lt;/DIV&gt;&lt;DIV class=""&gt;74 * if it exists. *;&lt;/DIV&gt;&lt;DIV class=""&gt;75 * b) Modify the PROC CONTENTS code to display the *;&lt;/DIV&gt;&lt;DIV class=""&gt;76 * descriptor portion of the EU_SPORT_TRADE table. *;&lt;/DIV&gt;&lt;DIV class=""&gt;77 * Submit the program, and then view the output data *;&lt;/DIV&gt;&lt;DIV class=""&gt;78 * and the results. *;&lt;/DIV&gt;&lt;DIV class=""&gt;79 ***********************************************************;&lt;/DIV&gt;&lt;DIV class=""&gt;80 libname pps "/home/u63717210/EPG1V2/practices";&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref PPS was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u63717210/EPG1V2/practices&lt;/DIV&gt;&lt;DIV class=""&gt;81 proc import Datafile= "pps/p102p01.sas/eu_sport_trade.xlsx"&lt;/DIV&gt;&lt;DIV class=""&gt;82 DBMS=xlsx&lt;/DIV&gt;&lt;DIV class=""&gt;83 out=pps.eu_sport_trade replace;&lt;/DIV&gt;&lt;DIV class=""&gt;84 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/pps/p102p01.sas/eu_sport_trade.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 2657.62k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 22260.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/01/2026 12:55:07 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 80 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 638&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 4&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;85&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;86 proc contents data=pps.eu_sport_trade;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: File PPS.EU_SPORT_TRADE.DATA does not exist.&lt;/DIV&gt;&lt;DIV class=""&gt;87 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 476.75k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 20132.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/01/2026 12:55:07 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 81 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 51&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 4&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 8&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;88&lt;/DIV&gt;&lt;DIV class=""&gt;89&lt;/DIV&gt;&lt;DIV class=""&gt;90 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;100&lt;/DIV&gt;&lt;DIV class=""&gt;---------------------------------&lt;/DIV&gt;&lt;DIV class=""&gt;Notes:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mkSAS1_0-1782910876602.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/116170i096964B3B7CC6953/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mkSAS1_0-1782910876602.png" alt="mkSAS1_0-1782910876602.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time for comment.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Jul 2026 13:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990335#M11569</guid>
      <dc:creator>mkSAS1</dc:creator>
      <dc:date>2026-07-01T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990356#M11570</link>
      <description>&lt;P&gt;Look very carefully at the PATTERN of the two path names you used:&lt;/P&gt;
&lt;PRE&gt;"/home/u63717210/EPG1V2/practices"
"pps/p102p01.sas/eu_sport_trade.xlsx"&lt;/PRE&gt;
&lt;P&gt;What differences do you see:&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;The first one starts with /, the root node of the Unix file system, and the second one does not.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;That means that the operating system will treat the first one as an ABSOLUTE (or complete) path and the second one as a RELATIVE path.&amp;nbsp; When you use a RELATIVE pathname the operating system starts at the current working directory and begins evaluating the path.&amp;nbsp; So what file it is looking for depends on the setting of the current working directory.&lt;/P&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 13:31:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990356#M11570</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-07-01T13:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990414#M11571</link>
      <description>&lt;P&gt;Thank you so much for your comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I regret not to ask directly.&lt;/P&gt;&lt;P&gt;My code was initially as like this:&lt;/P&gt;&lt;P&gt;proc import Datafile= "&amp;nbsp;/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here error happened because "practices" is over 8 characters.&amp;nbsp; In this situation, how I can circumvent the 9 characters of practice to avoid errors?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your generous comment.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 22:14:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990414#M11571</guid>
      <dc:creator>mkSAS1</dc:creator>
      <dc:date>2026-07-01T22:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990415#M11572</link>
      <description>&lt;P&gt;The code you shared does not (and should not) get any errors about something being longer than 8 characters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead it shows that the file you tried to IMPORT from does not exist because you told SAS to look for it in the wrong place.&lt;/P&gt;
&lt;PRE&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/pps/p102p01.sas/eu_sport_trade.&lt;/PRE&gt;
&lt;P&gt;Perhaps you tried to make a LIBREF using a name that was longer than 8 characters?&amp;nbsp; The libref you use in a LIBNAME statement has to be a valid SAS name between one an eight characters.&amp;nbsp; Its value does not have to match the name of the directory that it points to.&amp;nbsp; So if you want to make a libref pointing to that practices folder you could call it PRACTICE or FRED or SAM or any other valid SAS name (that is not already being used from some other libref.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname fred "/home/u63717210/EPG1V2/practices/";
proc import out=fred.myds ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 22:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990415#M11572</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-07-01T22:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990463#M11573</link>
      <description>&lt;P&gt;Thank you for the comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code changed to the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname pract xlsx "/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx";&lt;BR /&gt;proc import Datafile=pract&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;out=eu_sport_trade replace;&lt;BR /&gt;run;&lt;BR /&gt;proc contents data=eu_sport_trade;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 libname pract xlsx "/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx";&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref PRACT was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: XLSX&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx&lt;/DIV&gt;&lt;DIV class=""&gt;70 proc import Datafile=pract&lt;/DIV&gt;&lt;DIV class=""&gt;71 dbms=xlsx&lt;/DIV&gt;&lt;DIV class=""&gt;72 out=eu_sport_trade replace;&lt;/DIV&gt;&lt;DIV class=""&gt;73 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/PRACT.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 2651.25k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 25812.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/03/2026 08:47:36 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 353 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 637&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;74 proc contents data=eu_sport_trade;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: File WORK.EU_SPORT_TRADE.DATA does not exist.&lt;/DIV&gt;&lt;DIV class=""&gt;75 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 522.18k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23684.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 07/03/2026 08:47:36 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 354 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 50&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 8&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;76&lt;/DIV&gt;&lt;DIV class=""&gt;77&lt;/DIV&gt;&lt;DIV class=""&gt;78 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;88&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;------------&lt;/DIV&gt;&lt;DIV class=""&gt;I believe that I am missing something that I am not able to figure it out.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I appreciate your comment.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jul 2026 20:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990463#M11573</guid>
      <dc:creator>mkSAS1</dc:creator>
      <dc:date>2026-07-03T20:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990464#M11574</link>
      <description>You tried to use a library reference (libname) as infile in PROC IMPORT, which cannot work.&lt;BR /&gt;Either use a worksheet like a SAS dataset in your Excel library, or use the correct physical filename in the DATAFILE= option of the PROC IMPORT statement.</description>
      <pubDate>Sat, 04 Jul 2026 08:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990464#M11574</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-07-04T08:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990467#M11575</link>
      <description>&lt;P&gt;PROC IMPORT reads from files, not from libraries.&amp;nbsp; If you don't want to include the actual filename in the PROC IMPORT code then use a FILENAME statement to create a FILEREF.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename pract "/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx";
proc import
  datafile=pract
  dbms=xlsx
  out=eu_sport_trade replace
;
run;
proc contents data=eu_sport_trade;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to have SAS make the workbook look like a library by using a LIBNAME statement with the XLSX engine then there is no need to use PROC IMPORT.&amp;nbsp; Instead if you know the name of the worksheet then you can just reference it directly. So if the sheet is named&amp;nbsp;eu_sport_trade then just use that with the LIBREF that you created to reference the data.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname pract xlsx "/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx";
proc contents data=pract.eu_sport_trade;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you don't know what the sheets are named then you might try just copying all of the sheets into datasets in the WORK library.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname pract xlsx "/home/u63717210/EPG1V2/practices/p102p01.sas/eu_sport_trade.xlsx";
proc copy inlib=pract outlib=work;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;After you see the names in the SAS log you will know what dataset name to use in your PROC CONTENTS code.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2026 05:13:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990467#M11575</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-07-05T05:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Importing Excel Data from a Single Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990550#M11576</link>
      <description>&lt;P&gt;One caution with using Excel files as libraries to read data into SAS: They must be clean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means column headings only one cell starting on the first row, all the data in a column the same, i.e. numeric with the same type (all dates, all currency, all simple numbers, no mixing) or character. If the Excel is actually more of a report appearance then likely the library approach will lead to much frustration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Excel has two or more column headings then the column will likely be treated as character. If there are one or more blank cells above the headings you will likely again have the column treated a character (and possibly records with missing values).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At one point in my working career I would say that nearly 20 percent of my work time was cleaning up Excel "data" that the creators could not, or would not, keep consistent in any structure. When the Excel library was introduced in SAS I had one project that it seemed a reasonable solution to the read the frequent files provided. Lasted 3 weeks before the first file change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2026 16:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-AI-Studio/Errors-in-Importing-Excel-Data-from-a-Single-Worksheet/m-p/990550#M11576</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-07-07T16:59:25Z</dc:date>
    </item>
  </channel>
</rss>

