<?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: Starting with a libname and proc data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691598#M24835</link>
    <description>&lt;P&gt;You have&lt;/P&gt;
&lt;PRE&gt;LIBNAME RX17 "C: \Users\nidia\Documents\SASTHESIS";&lt;/PRE&gt;
&lt;P&gt;but the space between : and \ is not valid&lt;/P&gt;
&lt;PRE&gt;LIBNAME RX17 "C:\Users\nidia\Documents\SASTHESIS";&lt;/PRE&gt;
&lt;P&gt;Also, have you created the folder SASTHESIS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are working with a server then the server executing your SAS code likely does not see your hard drive as well.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 17:15:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-10-14T17:15:17Z</dc:date>
    <item>
      <title>Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691585#M24829</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to have my SAS read my files but I am having trouble. I have this code below and it says the library does not exist when I run it but it worked before so now I am confused. IS there anyone who can help me with it and fixing the code so it runs?&lt;/P&gt;&lt;P&gt;/**this is the start of the prescribed medicine files for 2017 first**/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME RX17 "C: Users\nidia\Documents\SASTHESIS";&lt;/P&gt;&lt;P&gt;FILENAME IN1 "C: Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;XCOPY&lt;/STRONG&gt; IN=IN1 OUT=RX17 IMPORT;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;CONTENTS&lt;/STRONG&gt; DATA= RX17h197a;&lt;/P&gt;&lt;P&gt;TITLE "List of Variables SCRIPT 2017 MEPS";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**start of the prescribed medicine files for 2018**/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME RX18 “"C: Users\nidia\Documents\SASTHESIS";&lt;/P&gt;&lt;P&gt;FILENAME IN1 “"C: Users\nidia\Documents\SASTHESIS\RX18\H206a.ssp";&lt;/P&gt;&lt;P&gt;PROC XCOPY IN=IN1 OUT=RX18 IMPORT;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC CONTENTS DATA= RX18.h206a;&lt;/P&gt;&lt;P&gt;TITLE “List of Variables SCRIPT 2018 MEPS”;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 16:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691585#M24829</guid>
      <dc:creator>98ighcfdvxcghjk</dc:creator>
      <dc:date>2020-10-14T16:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691588#M24831</link>
      <description>&lt;P&gt;Are you getting any errors? What does the log show?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure to paste your code into code blocks otherwise the HTML changes your code - is the missing slashes (see red below) in your path HTML changes or is it missing from the path?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284322"&gt;@98ighcfdvxcghjk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to have my SAS read my files but I am having trouble. I have this code below and it says the library does not exist when I run it but it worked before so now I am confused. IS there anyone who can help me with it and fixing the code so it runs?&lt;/P&gt;
&lt;P&gt;/**this is the start of the prescribed medicine files for 2017 first**/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIBNAME RX17 "C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;\&lt;/STRONG&gt;&lt;/FONT&gt;Users\nidia\Documents\SASTHESIS";&lt;/P&gt;
&lt;P&gt;FILENAME IN1 "C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;\&lt;/STRONG&gt;&lt;/FONT&gt;Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;XCOPY&lt;/STRONG&gt; IN=IN1 OUT=RX17 IMPORT;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;CONTENTS&lt;/STRONG&gt; DATA= RX17h197a;&lt;/P&gt;
&lt;P&gt;TITLE "List of Variables SCRIPT 2017 MEPS";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/**start of the prescribed medicine files for 2018**/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIBNAME RX18 “"C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;\&lt;/STRONG&gt;&lt;/FONT&gt;Users\nidia\Documents\SASTHESIS";&lt;/P&gt;
&lt;P&gt;FILENAME IN1 “"C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;\&lt;/STRONG&gt;&lt;/FONT&gt;Users\nidia\Documents\SASTHESIS\RX18\H206a.ssp";&lt;/P&gt;
&lt;P&gt;PROC XCOPY IN=IN1 OUT=RX18 IMPORT;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS DATA= RX18.h206a;&lt;/P&gt;
&lt;P&gt;TITLE “List of Variables SCRIPT 2018 MEPS”;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 16:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691588#M24831</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-14T16:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691590#M24832</link>
      <description>&lt;P&gt;I added the slashes but I still get errors. This is the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;18 /**this is the start of the prescribed medicine files for 2017 first**/&lt;BR /&gt;19&lt;BR /&gt;20 LIBNAME RX17 "C: \Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;NOTE: Library RX17 does not exist.&lt;BR /&gt;21 FILENAME IN1 "C: \Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp";&lt;BR /&gt;22 PROC XCOPY IN=IN1 OUT=RX17 IMPORT;&lt;BR /&gt;23 Run;&lt;/P&gt;&lt;P&gt;WARNING: Library RX17 does not exist.&lt;BR /&gt;NOTE: Input library IN1 is sequential.&lt;BR /&gt;ERROR: Physical file does not exist, C:\Users\nidia\&lt;BR /&gt;\Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;24 PROC CONTENTS DATA= RX17h197a;&lt;BR /&gt;ERROR: File WORK.RX17H197A.DATA does not exist.&lt;BR /&gt;25 TITLE "List of Variables SCRIPT 2017 MEPS";&lt;BR /&gt;26 Run;&lt;/P&gt;&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;27&lt;BR /&gt;28 /**start of the prescribed medicine files for 2018**/&lt;BR /&gt;29&lt;BR /&gt;30 LIBNAME RX18 “"C: \Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;ERROR: Libref in LIBNAME statement must be followed either by quoted string or engine name or&lt;BR /&gt;semicolon; "“" found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;31 FILENAME IN1 “"C: \Users\nidia\Documents\SASTHESIS\RX18\H206a.ssp";&lt;BR /&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;32 PROC XCOPY IN=IN1 OUT=RX18 IMPORT;&lt;BR /&gt;33 Run;&lt;/P&gt;&lt;P&gt;ERROR: Libref RX18 is not assigned.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;34&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;35 PROC CONTENTS DATA= RX18.h206a;&lt;BR /&gt;ERROR: Libref RX18 is not assigned.&lt;BR /&gt;36 TITLE “List of Variables SCRIPT 2018 MEPS”;&lt;BR /&gt;37 Run;&lt;/P&gt;&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 16:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691590#M24832</guid>
      <dc:creator>98ighcfdvxcghjk</dc:creator>
      <dc:date>2020-10-14T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691597#M24834</link>
      <description>&lt;P&gt;It seems like the path is still wrong, it has an extra space in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy the path directly from Windows Explorer and paste it in. Hold down CTRL+SHIFT + RIGHT CLICK on a file and select copy as path and Windows will copy the full file path to your clipboard.&lt;/P&gt;
&lt;P&gt;Run just the libname portion until that works correctly before running anything else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284322"&gt;@98ighcfdvxcghjk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I added the slashes but I still get errors. This is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;18 /**this is the start of the prescribed medicine files for 2017 first**/&lt;BR /&gt;19&lt;BR /&gt;20 LIBNAME RX17 "C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;\Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;NOTE: Library RX17 does not exist.&lt;BR /&gt;21 FILENAME IN1 "C:&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;\Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp";&lt;BR /&gt;22 PROC XCOPY IN=IN1 OUT=RX17 IMPORT;&lt;BR /&gt;23 Run;&lt;/P&gt;
&lt;P&gt;WARNING: Library RX17 does not exist.&lt;BR /&gt;NOTE: Input library IN1 is sequential.&lt;BR /&gt;ERROR: Physical file does not exist,&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt; C:\Users\nidia\&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;\Users\nidia\Documents\SASTHESIS\RX17\H197a.ssp.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;24 PROC CONTENTS DATA= RX17h197a;&lt;BR /&gt;ERROR: File WORK.RX17H197A.DATA does not exist.&lt;BR /&gt;25 TITLE "List of Variables SCRIPT 2017 MEPS";&lt;BR /&gt;26 Run;&lt;/P&gt;
&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;27&lt;BR /&gt;28 /**start of the prescribed medicine files for 2018**/&lt;BR /&gt;29&lt;BR /&gt;30 LIBNAME RX18 “"C: \Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;ERROR: Libref in LIBNAME statement must be followed either by quoted string or engine name or&lt;BR /&gt;semicolon; "“" found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;31 FILENAME IN1 “"C: \Users\nidia\Documents\SASTHESIS\RX18\H206a.ssp";&lt;BR /&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;32 PROC XCOPY IN=IN1 OUT=RX18 IMPORT;&lt;BR /&gt;33 Run;&lt;/P&gt;
&lt;P&gt;ERROR: Libref RX18 is not assigned.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;34&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;35 PROC CONTENTS DATA= RX18.h206a;&lt;BR /&gt;ERROR: Libref RX18 is not assigned.&lt;BR /&gt;36 TITLE “List of Variables SCRIPT 2018 MEPS”;&lt;BR /&gt;37 Run;&lt;/P&gt;
&lt;P&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 17:14:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691597#M24834</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-14T17:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691598#M24835</link>
      <description>&lt;P&gt;You have&lt;/P&gt;
&lt;PRE&gt;LIBNAME RX17 "C: \Users\nidia\Documents\SASTHESIS";&lt;/PRE&gt;
&lt;P&gt;but the space between : and \ is not valid&lt;/P&gt;
&lt;PRE&gt;LIBNAME RX17 "C:\Users\nidia\Documents\SASTHESIS";&lt;/PRE&gt;
&lt;P&gt;Also, have you created the folder SASTHESIS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are working with a server then the server executing your SAS code likely does not see your hard drive as well.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 17:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691598#M24835</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-14T17:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691604#M24839</link>
      <description>&lt;P&gt;Thanks. The first part works now but I want SAS to read another file and that does not work in terms of the libname.&lt;/P&gt;&lt;P&gt;LIBNAME RX18 "C:\Users\nidia\Documents\SASTHESIS";&lt;/P&gt;&lt;P&gt;FILENAME IN2 "C:\Users\nidia\Documents\SASTHESIS\RX18\H206A.ssp";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;XCOPY&lt;/STRONG&gt; IN=IN2 OUT=RX18 IMPORT;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;CONTENTS&lt;/STRONG&gt; DATA= RX18.H206A;&lt;/P&gt;&lt;P&gt;TITLE “List of Variables SCRIPT &lt;STRONG&gt;2018&lt;/STRONG&gt; MEPS”;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives me this in the log&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME RX18 "C:\Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;NOTE: Libref RX18 refers to the same physical library as RX17.&lt;BR /&gt;NOTE: Libref RX18 was successfully assigned as follows:&lt;BR /&gt;Engine: V9&lt;BR /&gt;Physical Name: C:\Users\nidia\Documents\SASTHESIS&lt;BR /&gt;121 FILENAME IN2 "C:\Users\nidia\Documents\SASTHESIS\RX18\H206A.ssp";&lt;BR /&gt;122 PROC XCOPY IN=IN2 OUT=RX18 IMPORT;&lt;BR /&gt;123 Run;&lt;/P&gt;&lt;P&gt;NOTE: Input library IN2 is sequential.&lt;BR /&gt;ERROR: File is probably a cport file. XPORT engine unable to read file created by proc cport.&lt;BR /&gt;Please use proc cimport to convert this file to native format.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 17:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691604#M24839</guid>
      <dc:creator>98ighcfdvxcghjk</dc:creator>
      <dc:date>2020-10-14T17:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with a libname and proc data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691611#M24840</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284322"&gt;@98ighcfdvxcghjk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks. The first part works now but I want SAS to read another file and that does not work in terms of the libname.&lt;/P&gt;
&lt;P&gt;LIBNAME RX18 "C:\Users\nidia\Documents\SASTHESIS";&lt;/P&gt;
&lt;P&gt;FILENAME IN2 "C:\Users\nidia\Documents\SASTHESIS\RX18\H206A.ssp";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;XCOPY&lt;/STRONG&gt; IN=IN2 OUT=RX18 IMPORT;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;CONTENTS&lt;/STRONG&gt; DATA= RX18.H206A;&lt;/P&gt;
&lt;P&gt;TITLE “List of Variables SCRIPT &lt;STRONG&gt;2018&lt;/STRONG&gt; MEPS”;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It gives me this in the log&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIBNAME RX18 "C:\Users\nidia\Documents\SASTHESIS";&lt;BR /&gt;NOTE: Libref RX18 refers to the same physical library as RX17.&lt;BR /&gt;NOTE: Libref RX18 was successfully assigned as follows:&lt;BR /&gt;Engine: V9&lt;BR /&gt;Physical Name: C:\Users\nidia\Documents\SASTHESIS&lt;BR /&gt;121 FILENAME IN2 "C:\Users\nidia\Documents\SASTHESIS\RX18\H206A.ssp";&lt;BR /&gt;122 PROC XCOPY IN=IN2 OUT=RX18 IMPORT;&lt;BR /&gt;123 Run;&lt;/P&gt;
&lt;P&gt;NOTE: Input library IN2 is sequential.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR: File is probably a cport file. XPORT engine unable to read file created by proc cport.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Please use proc cimport to convert this file to native format.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE XCOPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Did you try using &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=p1be86uw07acoin1aodzspbmkg8m.htm&amp;amp;locale=en" target="_self"&gt;PROC CIMPORT&lt;/A&gt; instead as suggested by the log? Code is very similar, see the docs link for more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname newlib 'sas-library';
filename tranfile 'transport-file';
                  
proc cimport library=newlib infile=tranfile;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 17:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Starting-with-a-libname-and-proc-data/m-p/691611#M24840</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-14T17:58:08Z</dc:date>
    </item>
  </channel>
</rss>

