<?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: Rename multiple csv files before converting them to SAS in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721636#M38232</link>
    <description>&lt;P&gt;FCOPY to copy the file/rename it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use FDELETE() to delete the old copy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0h945u5r0cv6yn1u6qs35hiqt9t.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0h945u5r0cv6yn1u6qs35hiqt9t.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FCOPY/FDELETE work the same regardless of OS so they're better than pipe commands which can be locked down and are OS dependent.&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/116786"&gt;@Sean_OConnor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a folder which contains multiple csv files - 30+&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro which reads in the list of files and processes them and converts into sas one by one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, one of the steps I need to do is manually change the csv file name before I run them. I find this tedious and time consuming. Basically before I convert the files to SAS I would like to rename each file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of the location of the file and naming convention before the manual intervention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102010610.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102020702.csv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This what it looks like after I do the manual name change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_01.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_02.csv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can see there is a pattern there. All the non numeric parts of the filename gets changed to 'ABC'.&lt;/P&gt;
&lt;P&gt;Also the date before the manual intervention is yymmdd followed by random numbers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I manually change this to yyyy_mm_dd.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would anyone have thoughts I could automate such a step in SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 17:28:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-02-24T17:28:48Z</dc:date>
    <item>
      <title>Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721628#M38230</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a folder which contains multiple csv files - 30+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a macro which reads in the list of files and processes them and converts into sas one by one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, one of the steps I need to do is manually change the csv file name before I run them. I find this tedious and time consuming. Basically before I convert the files to SAS I would like to rename each file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of the location of the file and naming convention before the manual intervention.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102010610.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102020702.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This what it looks like after I do the manual name change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_01.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_02.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you can see there is a pattern there. All the non numeric parts of the filename gets changed to 'ABC'.&lt;/P&gt;&lt;P&gt;Also the date before the manual intervention is yymmdd followed by random numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I manually change this to yyyy_mm_dd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone have thoughts I could automate such a step in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721628#M38230</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-02-24T17:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721635#M38231</link>
      <description>Aren't your "random numbers" time of day?  Seems like you would want to keep that part.</description>
      <pubDate>Wed, 24 Feb 2021 17:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721635#M38231</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-02-24T17:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721636#M38232</link>
      <description>&lt;P&gt;FCOPY to copy the file/rename it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use FDELETE() to delete the old copy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0h945u5r0cv6yn1u6qs35hiqt9t.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0h945u5r0cv6yn1u6qs35hiqt9t.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FCOPY/FDELETE work the same regardless of OS so they're better than pipe commands which can be locked down and are OS dependent.&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/116786"&gt;@Sean_OConnor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a folder which contains multiple csv files - 30+&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro which reads in the list of files and processes them and converts into sas one by one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, one of the steps I need to do is manually change the csv file name before I run them. I find this tedious and time consuming. Basically before I convert the files to SAS I would like to rename each file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of the location of the file and naming convention before the manual intervention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102010610.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/just_in_daily_submission_file.2102020702.csv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This what it looks like after I do the manual name change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_01.csv&lt;BR /&gt;//collect/Migration/Datasets/ABC/123a/Processing/ABC_2021_02_02.csv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can see there is a pattern there. All the non numeric parts of the filename gets changed to 'ABC'.&lt;/P&gt;
&lt;P&gt;Also the date before the manual intervention is yymmdd followed by random numbers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I manually change this to yyyy_mm_dd.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would anyone have thoughts I could automate such a step in SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/721636#M38232</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-24T17:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/722919#M38269</link>
      <description>&lt;P&gt;Thanks for this. I'm still slightly confused how I might do something like that in macro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips would be great&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 17:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/722919#M38269</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-03-02T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/722921#M38270</link>
      <description>You first start with working code, do you have that sorted out?</description>
      <pubDate>Tue, 02 Mar 2021 17:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/722921#M38270</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-02T17:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723131#M38275</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have changed the method around to just read the csv file as is and rename the outputted SAS file. I nearly have it working but this is my issue.&lt;/P&gt;&lt;P&gt;So my &amp;amp;name is being put in double quotations. I think this is the only issue to get this working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: ""File_2021_02_05"" is not a valid name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*This is the macro used to import csv files into SAS;
%macro process(DirectoryAndDataset= ,name=);
	/*Firstly we read in the dataset called DatasetsInADirectory and keep one record each time depending on what iteration we are in*/
	data DatasetsInADirectory_1;
		set DatasetsInADirectory;
		where DirectoryAndDataset="&amp;amp;DirectoryAndDataset" and name="&amp;amp;name";
	run;

	/*Program for loading the file we get*/
	proc import datafile="&amp;amp;mig01.\Datasets\Files\ABC\2021\&amp;amp;DirectoryAndDataset..csv"
		out="&amp;amp;name"(label='File 123')
		dbms=csv
		replace;
		getnames=no;

		*datarow=2;
		GUESSINGROWS=MAX;
		run;

%mend process;

*The above is the macro which is used, the below is the function which carries the process out for all N datasets;

/*Put a timer at begining and end to see how long processing takes for everything*/
data macro_call;
	set DatasetsInADirectory;

	*build macro call string;
	str = catt('%nrstr(%process)(DirectoryAndDataset =', DirectoryAndDataset, ' ,name =', name,');');

	*call macro;
	call execute(str);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Mar 2021 13:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723131#M38275</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-03-03T13:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723133#M38276</link>
      <description>&lt;P&gt;How do you build your dataset&amp;nbsp;DatasetsInADirectory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And why do you create a dataset in your macro (DatasetsInADirectory_1) that you never use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 13:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723133#M38276</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-03T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723134#M38277</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DatasetsInDirectory is built by giving me a list of all csv files in my directory I'm looking to convert to SAS.&lt;/P&gt;&lt;P&gt;After I do some adjustments I'm left with two columns. The first column called DatasetsInDirectory is the names of all the csv files I want to convert. The second column called name is the outputted name I want to name the SAS dataset as.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way the program worked before is that it would read in the list of datasets in one by one and carry out the import.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This macro does what it's supposed to be when I just had this call-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*build macro call string;
	str = catt('%nrstr(%process)(DirectoryAndDataset =', DirectoryAndDataset, ');');&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm trying to add the name part in now and I think I have the quotations in the wrong place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 13:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723134#M38277</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-03-03T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723135#M38278</link>
      <description>&lt;P&gt;First of all, the OUT= option of the PROC IMPORT statement needs a dataset identifier, which is usually in the form LIBRARY.DATASET (or DATASET alone if in WORK) &lt;EM&gt;without&lt;/EM&gt; quotes.&lt;/P&gt;
&lt;P&gt;What puzzles me are the double double quotes in your ERROR message, that's why I asked how you build that dataset. Make sure that no quotes are included in the name variable.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 13:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723135#M38278</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-03T13:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723138#M38279</link>
      <description>&lt;P&gt;And build the call string this way:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;str = catt('%nrstr(%process(DirectoryAndDataset =', DirectoryAndDataset, ',name=',name,'));');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Mar 2021 13:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723138#M38279</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-03T13:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723143#M38280</link>
      <description>&lt;P&gt;Thank you very much for your help Kurt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I seem to be getting presented with the issue that SAS is telling my csv file does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to 
WORK.PARMS.PARMS.SLIST.
ERROR: Physical file does not exist, 
\\cmcollect01\abc\Migration_01\Datasets\123\we\Processing\daily_submission_file.210205065.csv. 
ERROR: Import unsuccessful.  See SAS Log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I can navigate to the following location and find the csv file called&amp;nbsp;&lt;CODE class=" language-sas"&gt;daily_submission_file.210205065&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Again, this previously worked so I'm not sure what's happening now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 14:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723143#M38280</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-03-03T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723147#M38281</link>
      <description>I found the error here. My column DatasetsInDirectory was being truncated hence I wasn't picking up the full name.</description>
      <pubDate>Wed, 03 Mar 2021 14:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723147#M38281</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2021-03-03T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple csv files before converting them to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723382#M38284</link>
      <description>&lt;P&gt;Take a look at Maxim 47. This happens to everybody (including me), again and again.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 08:08:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-csv-files-before-converting-them-to-SAS/m-p/723382#M38284</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-04T08:08:02Z</dc:date>
    </item>
  </channel>
</rss>

