<?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: Import automatically multiple pipe delimited files to different Sas Tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641951#M191438</link>
    <description>&lt;P&gt;The WARNING is caused by the surplus ampersand in the %superq function. In this function, the macro variable name must be used without it. In the later explanation of the code in the same page, the code is correct.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 14:08:48 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-22T14:08:48Z</dc:date>
    <item>
      <title>Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640694#M190906</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just starting in Sas and i hope my question is not too dumm, but i would like to ask for some help, I am using Sas university edition.&amp;nbsp; I have been thinking a lot but i do not find a my mistake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My final objective is to import several pipe delimited text files that are in a folder to sas.&lt;/P&gt;&lt;P&gt;I found this topic:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=mcrolref&amp;amp;docsetTarget=n0ctmldxf23ixtn1kqsoh5bsgmg8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=mcrolref&amp;amp;docsetTarget=n0ctmldxf23ixtn1kqsoh5bsgmg8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I ran the code, however i did not get to import my files below the error and code&lt;OL&gt;&lt;LI&gt;Following note:&amp;nbsp;&lt;DIV class="sasSource"&gt;107 %drive(C:\SASUniversityEdition\myfolders\sasuser.v94\relationaltables201603,txt)&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: In a call to the DOPEN routine, the fileref /folders/myfolders/sasuser.v94/relationaltables201603/ exceeds 8 characters, and&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;will be truncated.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;C:\SASUniversityEdition\myfolders\sasuser.v94\relationaltables201603 cannot be open.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;108&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;109 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;121&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class="sasSource"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro drive(dir,ext); 
   %local cnt filrf rc did memcnt name; 
   %let cnt=0;          

   %let filrf=/folders/myfolders/sasuser.v94/relationaltables201603/;    
   %let rc=%sysfunc(filename(filrf,&amp;amp;dir)); 
   %let did=%sysfunc(dopen(&amp;amp;filrf));
    %if &amp;amp;did ne 0 %then %do;   
   %let memcnt=%sysfunc(dnum(&amp;amp;did));    

    %do i=1 %to &amp;amp;memcnt;              
                       
      %let name=%qscan(%qsysfunc(dread(&amp;amp;did,&amp;amp;i)),-1,.);                    
                    
      %if %qupcase(%qsysfunc(dread(&amp;amp;did,&amp;amp;i))) ne %qupcase(&amp;amp;name) %then %do;
       %if %superq(ext) = %superq(&amp;amp;name) %then %do;                         
          %let cnt=%eval(&amp;amp;cnt+1);       
          %put %qsysfunc(dread(&amp;amp;did,&amp;amp;i));  
          PROC IMPORT DATAFILE="&amp;amp;dir\%qsysfunc(dread(&amp;amp;did,&amp;amp;i))" out=dsn&amp;amp;cnt
			DBMS=DLM
			OUT=WORK.&amp;amp;OUTFILENAME;
			DELIMITER="|";
			GETNAMES=YES;
          run;          
       %end; 
      %end;  

    %end;
      %end;
  %else %put &amp;amp;dir cannot be open.;
  %let rc=%sysfunc(dclose(&amp;amp;did));      
             
 %mend drive;
 
%drive(C:\SASUniversityEdition\myfolders\sasuser.v94\relationaltables201603,txt) &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore i found this topic:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Problem-importing-my-CSV-into-SAS-University-Edition/td-p/139536" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Procedures/Problem-importing-my-CSV-into-SAS-University-Edition/td-p/139536&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I ran the test and found my files, therefore I am not sure why isnt sas&amp;nbsp; finding my files.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;

infile "/folders/myfolders/sasuser.v94/relationaltables201603/arm_groups.txt" obs=100;

input;

put _infile_;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38373i43C8C62624315C8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody, have a clue of what can i try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thaaanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2020 11:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640694#M190906</guid>
      <dc:creator>Debora1</dc:creator>
      <dc:date>2020-04-17T11:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640704#M190912</link>
      <description>&lt;P&gt;1) you changed line&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let filrf=mydir; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;into&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let filrf=/folders/myfolders/sasuser.v94/relationaltables201603/;   &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;thus getting the note:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: In a call to the DOPEN routine, the fileref /folders/myfolders/sasuser.v94/relationaltables201603/ exceeds 8 characters,
 and will be truncated.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Don't change that line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) While invoking macro on line&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%drive(C:\SASUniversityEdition\myfolders\sasuser.v94\relationaltables201603,txt) ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you don't need the root "&lt;CODE class=" language-sas"&gt;C:\SASUniversityEdition"&amp;nbsp;-&amp;nbsp;cancel&amp;nbsp;it&amp;nbsp;while&amp;nbsp;using&amp;nbsp;SAS UE.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640704#M190912</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-04-17T12:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640706#M190913</link>
      <description>&lt;P&gt;Several issues.&lt;/P&gt;
&lt;P&gt;First, University Edition CANNOT see your C: drive, it can only see the shared folder from &lt;EM&gt;inside&lt;/EM&gt; the virtual machine. There, it is /folders/myfolders.&lt;/P&gt;
&lt;P&gt;Second, the file reference used as first argument to the filename function must be a valid SAS name for a file reference. File references can be a maximum of 8 characters long, must start with a character a-z or underline, and can contain only characters a-z, underlines and digits.&lt;/P&gt;
&lt;P&gt;So change the %let to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let filrf=my_inf;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or similar.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640706#M190913</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-17T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640707#M190914</link>
      <description>&lt;P&gt;Corrected code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro drive(dir,ext); 
   %local cnt filrf rc did memcnt name; 
   %let cnt=0;          

   %let filrf=my_inf;    
   %let rc=%sysfunc(filename(filrf,&amp;amp;dir)); 
   %let did=%sysfunc(dopen(&amp;amp;filrf));
    %if &amp;amp;did ne 0 %then %do;   
   %let memcnt=%sysfunc(dnum(&amp;amp;did));    

    %do i=1 %to &amp;amp;memcnt;              
                       
      %let name=%qscan(%qsysfunc(dread(&amp;amp;did,&amp;amp;i)),-1,.);                    
                    
      %if %qupcase(%qsysfunc(dread(&amp;amp;did,&amp;amp;i))) ne %qupcase(&amp;amp;name) %then %do;
       %if %superq(ext) = %superq(&amp;amp;name) %then %do;                         
          %let cnt=%eval(&amp;amp;cnt+1);       
          %put %qsysfunc(dread(&amp;amp;did,&amp;amp;i));  
          PROC IMPORT DATAFILE="&amp;amp;dir\%qsysfunc(dread(&amp;amp;did,&amp;amp;i))" out=dsn&amp;amp;cnt
			DBMS=DLM
			OUT=WORK.&amp;amp;OUTFILENAME;
			DELIMITER="|";
			GETNAMES=YES;
          run;          
       %end; 
      %end;  

    %end;
      %end;
  %else %put &amp;amp;dir cannot be open.;
  %let rc=%sysfunc(dclose(&amp;amp;did));      
             
 %mend drive;
 
%drive(/folders/myfolders/sasuser.v94/relationaltables201603,txt)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640707#M190914</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-17T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640708#M190915</link>
      <description>&lt;P&gt;It looks like you are using a macro that was already working, but you changed the macro itself instead of just passing in the path in the call to the macro. Go back to the original macro as it looks like it was originally written properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In particular the macro variable FILRF is intended to hold the fileref needed for the FILENAME() and DOPEN() statement. So its value needs to be a valid SAS name of 8 characters or less. The only other requirement is that it not conflict with any other filename you are already using.&amp;nbsp; If you just set it to nothing then the FILENAME() statement will generate one for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the path make sure to use the path as it is seen by SAS, not how it looks from Windows on your PC.&amp;nbsp; Looks like you are using SAS University edition so SAS is running on Unix so the path needs to be unix style (ie case sensitive) and start with /folders/myfolders/.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%drive(/folders/myfolders/sasuser.v94/relationaltables201603,txt) &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Personally I NEVER put anything into the SASUSER folder, but perhaps that is what the instructions you are following asked you to do?&amp;nbsp; Project data should be in project folders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:37:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/640708#M190915</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-17T12:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641918#M191424</link>
      <description>&lt;P&gt;Hey! Thanks so much for the advices and explanations!&lt;/P&gt;&lt;P&gt;I moved the file to another folder and the location and given the advices the location problem was solved.&lt;/P&gt;&lt;P&gt;However, i found another problem the files were not imported to my work library, due to this error appearing for several times.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"WARNING: Apparent symbolic reference TXT not resolved."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the post that i am basing on is, uses this code for csv files, so i simply modified the delimiter to pipe and changed the file format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea what could i try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro drive(dir,ext); 
   %local cnt filrf rc did memcnt name; 
   %let cnt=0;          

   %let filrf=mydir;    
   %let rc=%sysfunc(filename(filrf,&amp;amp;dir)); 
   %let did=%sysfunc(dopen(&amp;amp;filrf));
    %if &amp;amp;did ne 0 %then %do;   
   %let memcnt=%sysfunc(dnum(&amp;amp;did));    

    %do i=1 %to &amp;amp;memcnt;              
                       
      %let name=%qscan(%qsysfunc(dread(&amp;amp;did,&amp;amp;i)),-1,.);                    
                    
      %if %qupcase(%qsysfunc(dread(&amp;amp;did,&amp;amp;i))) ne %qupcase(&amp;amp;name) %then %do;
       %if %superq(ext) = %superq(&amp;amp;name) %then %do;                         
          %let cnt=%eval(&amp;amp;cnt+1);       
          %put %qsysfunc(dread(&amp;amp;did,&amp;amp;i));  
          PROC IMPORT DATAFILE="&amp;amp;dir\%qsysfunc(dread(&amp;amp;did,&amp;amp;i))" out=dsn&amp;amp;cnt
			DBMS=DLM
			OUT=WORK.&amp;amp;OUTFILENAME;
			DELIMITER="|";
			GETNAMES=YES;
          run;          
       %end; 
      %end;  

    %end;
      %end;
  %else %put &amp;amp;dir cannot be open.;
  %let rc=%sysfunc(dclose(&amp;amp;did));      
             
 %mend drive;
 
%drive(/folders/myfolders/AACT201603_pipe_delimited/relationaltables201603,txt) &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641918#M191424</guid>
      <dc:creator>Debora1</dc:creator>
      <dc:date>2020-04-22T13:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641922#M191427</link>
      <description>&lt;P&gt;I don't see any code that is attempting to reference a macro variable named txt.&lt;/P&gt;
&lt;P&gt;You do have the wrong slash being inserted into the paths in the middle of that macro.&lt;/P&gt;
&lt;P&gt;Note that SAS on Windows should automatically convert x/y to x\y when used in a path.&amp;nbsp; But on Unix \ is used as an escape character so SAS cannot automatically do the reverse.&amp;nbsp; So if you want to just use one character and run the code on either windows or Unix then use /.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT DATAFILE="&amp;amp;dir/%qsysfunc(dread(&amp;amp;did,&amp;amp;i))" out=dsn&amp;amp;cnt&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641922#M191427</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-22T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641925#M191428</link>
      <description>&lt;P&gt;Hello Shmuel!&lt;/P&gt;&lt;P&gt;Thaaanks so much! Indeed that worked out perfectly for my location problem! In order to consider shared folder safety issues mentioned below i moved my files to another folder and the location problem is solved.&lt;/P&gt;&lt;P&gt;However the issue that appeared several times was this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: Apparent symbolic reference TXT not resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original code i considered, was based on csv files, so what i did to consider pipe files was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Changed the delimiter&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;DELIMITER="|";&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;File format to txt&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;%drive(/folders/myfolders/AACT201603_pipe_delimited/relationaltables201603,txt)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any other tips on how could i solve it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641925#M191428</guid>
      <dc:creator>Debora1</dc:creator>
      <dc:date>2020-04-22T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641947#M191436</link>
      <description>&lt;P&gt;There is an error in the code as presented on the SAS website. This statement&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if %superq(ext) = %superq(&amp;amp;name) %then %do;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;needs to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if %superq(ext) = %superq(name) %then %do;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(no ampersand in the %superq function)&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;could you let this be fixed in&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=mcrolref&amp;amp;docsetTarget=n0ctmldxf23ixtn1kqsoh5bsgmg8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=mcrolref&amp;amp;docsetTarget=n0ctmldxf23ixtn1kqsoh5bsgmg8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641947#M191436</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-22T14:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641949#M191437</link>
      <description>&lt;P&gt;Good afternoon Kurt!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks so much for the help! The proposed change fitted as a glove!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now trying to understand another point that emerged, because in the end i could not import due to this error that appeared several times:&lt;/P&gt;&lt;DIV class="sasWarning"&gt;"WARNING: Apparent symbolic reference TXT not resolved."&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&lt;P&gt;The original code i considered, was based on csv files, so what i did to consider pipe files was:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Changed the delimiter&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;DELIMITER="|";&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Changed file format to txt&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;%drive(/folders/myfolders/AACT201603_pipe_delimited/relationaltables201603,txt)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any idea on how could i solve it? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or perhaps another easier way to import several pipe delimited files in a folder automatically?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Debora1_0-1587564367600.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38548i20FA02AAE791ACE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Debora1_0-1587564367600.png" alt="Debora1_0-1587564367600.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641949#M191437</guid>
      <dc:creator>Debora1</dc:creator>
      <dc:date>2020-04-22T14:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641951#M191438</link>
      <description>&lt;P&gt;The WARNING is caused by the surplus ampersand in the %superq function. In this function, the macro variable name must be used without it. In the later explanation of the code in the same page, the code is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641951#M191438</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-22T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641971#M191448</link>
      <description>&lt;P&gt;I've alerted&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41372"&gt;@Sue_SAS&lt;/a&gt;&amp;nbsp;who looks after this doc.&amp;nbsp; Thanks for pointing it out!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:39:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/641971#M191448</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-04-22T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/642096#M191510</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I corrected the document. You will see the change at the next software release. Thanks for letting us know about this error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sue_sas&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 21:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/642096#M191510</guid>
      <dc:creator>Sue_SAS</dc:creator>
      <dc:date>2020-04-22T21:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Import automatically multiple pipe delimited files to different Sas Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/642429#M191641</link>
      <description>Thanks so much for the support!&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Apr 2020 00:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-automatically-multiple-pipe-delimited-files-to-different/m-p/642429#M191641</guid>
      <dc:creator>Debora1</dc:creator>
      <dc:date>2020-04-24T00:57:39Z</dc:date>
    </item>
  </channel>
</rss>

