<?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: How to resolve Libref is not assigned ,Library name is not assigned  error in  proc import  comm in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536265#M7068</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile='/folders/myfolders/Logging.csv'
DBMS=csv out=Logging replace;
run;
proc print data=Logging;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you have this same question already resolved in this tread&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536260" target="_blank"&gt;https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536260&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please don't repost the same question .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 18:26:26 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2019-02-17T18:26:26Z</dc:date>
    <item>
      <title>How to resolve Libref is not assigned ,Library name is not assigned  error in  proc import  command</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536220#M7063</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Java Version: 1.8.0_181&lt;BR /&gt;SAS release:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;9.04.01M6P11072018&lt;BR /&gt;SAS platform:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Linux LIN X64 2.6.32-754.6.3.el6.x86_64&lt;BR /&gt;Site name:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;UNIVERSITY EDITION 2.8 9.4 M6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS on VMware ( SAS on virtual Machine) , I have the same issue when I use SAS onDemand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the guide line in setting up SAS on VMware using the below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/software/products/university-edition/docs/en/SASUniversityEditionInstallGuideWindows.pdf" target="_blank" rel="noopener"&gt;http://support.sas.com/software/products/university-edition/docs/en/SASUniversityEditionInstallGuideWindows.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I configured the shared folder&amp;nbsp; option&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no issue in working with datalines but when I try to import data using proc import ,&lt;/P&gt;&lt;P&gt;( data which is already stored in the working directory.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code I used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc import datafile='/folders/myfolders/Logging.csv'&lt;BR /&gt;DBMS=csv out=Logging.csv replace; &lt;BR /&gt;run;&lt;BR /&gt;proc print data=Logging.csv; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;Here is the three errors I am getting , though I was able to solve the first one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first error: Libref 'LoggingData' exceeds 8 characters&amp;nbsp; , I resolved the issue by renaming my file name under 8 characters to Logging&lt;/P&gt;&lt;P&gt;Second error : Library name is not assigned&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Third error : Libref LOGGING (mydataname) is not assigned&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Effort :&lt;/P&gt;&lt;P&gt;I spent literally 6 hours looking for answer from YouTube to SAS blogs and SAS community support ,&lt;/P&gt;&lt;P&gt;I came across very similar stuff , but nothing seems clear and concise&lt;/P&gt;&lt;P&gt;I tried to use the below command ( custom library&amp;nbsp; as the WORK lib doesnt seem to work)&amp;nbsp; for every proc command but it is not working either&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let dirdata=C:\SASUniverstyEdition\myfolders;&lt;/P&gt;&lt;P&gt;libname SASLIBS "&amp;amp;dirdata";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname SASLIBS '/folders/myfolders/sasuser.v94';&lt;/P&gt;&lt;P&gt;options user=SASLIBS;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to edit the autoexec.sas code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my question is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how &lt;I&gt;can I &lt;/I&gt;get past these two annoying errors&lt;/P&gt;&lt;P&gt;why would I need to assign library if SAS already has a default one , WORK&lt;/P&gt;&lt;P&gt;How can I assign my library globally never to be asked again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please show with examples , as most of help threads are&amp;nbsp; not straight forward&lt;/P&gt;&lt;P&gt;I really need help , I have a lot to work on my project but I am stuck in reading the data.Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 05:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536220#M7063</guid>
      <dc:creator>brook2</dc:creator>
      <dc:date>2019-02-17T05:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Libref is not assigned ,Library name is not assigned  error in  proc import  comm</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536265#M7068</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile='/folders/myfolders/Logging.csv'
DBMS=csv out=Logging replace;
run;
proc print data=Logging;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you have this same question already resolved in this tread&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536260" target="_blank"&gt;https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536260&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please don't repost the same question .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 18:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-resolve-Libref-is-not-assigned-Library-name-is-not/m-p/536265#M7068</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-02-17T18:26:26Z</dc:date>
    </item>
  </channel>
</rss>

