<?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: Error: import unsuccessful. see log for details. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690093#M209881</link>
    <description>I was trying to create the permenant data set, stress2 from the folder dat_raw. with the proc import statement I am simply trying to print the results of the data set stress2.</description>
    <pubDate>Thu, 08 Oct 2020 16:39:03 GMT</pubDate>
    <dc:creator>Curious4</dc:creator>
    <dc:date>2020-10-08T16:39:03Z</dc:date>
    <item>
      <title>Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690064#M209858</link>
      <description>&lt;P&gt;The log: "&lt;/P&gt;&lt;DIV class="sasSource"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Unable to sample external file, no data in first 5 records&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;"&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know why this data is not importing correctly? note:&amp;nbsp; I have corrected the spelling error in the out statement already&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname dat_raw '/folders/myfolders/DATASETS/DAT';
data dat_raw.stress2; 

data stress2;
	set dat_raw.stress2;
	file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt';
	put name $ 1-20 resthr 22-24 maxhr 26-28 rechr 30-32 timemin 34-36 timesec 38-40
	 tolerance 42;
	proc print; run;
	
proc import datafile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt'
   DBMS=tab out=dat_raw.stress2 replace;
	proc print; run;
	
proc export data=dat_raw.stress2 DBMS=xls replace
	outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.xls'; 
	proc print; run;
	
proc export data=dat_raw.stress2 DBMS=csv replace
	outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.csv';&lt;/PRE&gt;&lt;PRE&gt;114        libname dat_raw '/folders/myfolders/DATASETS/DAT';
 NOTE: Libref DAT_RAW was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /folders/myfolders/DATASETS/DAT
 
 NOTE: There were 5 observations read from the data set WORK.NEW.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.05 seconds
       cpu time            0.04 seconds
       
 
 115        data dat_raw.stress2;
 116        
 
 NOTE: The data set DAT_RAW.STRESS2 has 1 observations and 0 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.04 seconds
       cpu time            0.02 seconds
       
 
 117        data stress2;
 118        set dat_raw.stress2;
 119        file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt';
 120        put name $ 1-20 resthr 22-24 maxhr 26-28 rechr 30-32 timemin 34-36 timesec 38-40
 121         tolerance 42;
 122        
 
 NOTE: Variable name is uninitialized.
 NOTE: Variable resthr is uninitialized.
 NOTE: Variable maxhr is uninitialized.
 NOTE: Variable rechr is uninitialized.
 NOTE: Variable timemin is uninitialized.
 NOTE: Variable timesec is uninitialized.
 NOTE: Variable tolerance is uninitialized.
 NOTE: The file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt' is:
       Filename=/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt,
       Owner Name=root,Group Name=vboxsf,
       Access Permission=-rwxrwx---,
       Last Modified=08Oct2020:12:18:51
 
 NOTE: 1 record was written to the file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt'.
       The minimum record length was 42.
       The maximum record length was 42.
 NOTE: There were 1 observations read from the data set DAT_RAW.STRESS2.
 NOTE: The data set WORK.STRESS2 has 1 observations and 7 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       cpu time            0.01 seconds
       
 
 122      !  proc print; run;
 
 NOTE: There were 1 observations read from the data set WORK.STRESS2.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.02 seconds
       cpu time            0.02 seconds
       
 
 123        
 124        proc import datafile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt'
 125           DBMS=tab out=dat_raw.stress2 replace;
 126        
 
 NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to 
 WORK.PARMS.PARMS.SLIST.
 Unable to sample external file, no data in first 5 records.
 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.33 seconds
       cpu time            0.20 seconds
       
 
 
 126      !  proc print; run;
 
 NOTE: There were 1 observations read from the data set WORK.STRESS2.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.05 seconds
       cpu time            0.05 seconds
       
 
 127        
 128        proc export data=dat_raw.stress2 DBMS=xls replace
 129        outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.xls';
 130        
 
 ERROR: File DAT_RAW.STRESS2.DATA does not exist.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE EXPORT used (Total process time):
       real time           0.08 seconds
       cpu time            0.02 seconds
       
 
 
 130      !  proc print; run;
 
 NOTE: There were 1 observations read from the data set WORK.STRESS2.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.05 seconds
       cpu time            0.06 seconds
       
 
 131        
 132        proc export data=dat_raw.stress2 DBMS=csv replace
 133        outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.csv';
 134        /*
 135        data _NULL_;
 136        file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2_1.txt';
 137        put name $ 1-20 resthr 22-24 maxhr 26-28 rechr 30-32 timemin 34-36 timesec 38-40
 138        tolerance 42;
 139        proc print;
 140        run;
 141        
 142        proc import datafile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2_1.txt'
 143           DBMS=tab out=_NULL replace;
 144        proc print; run;
 145        
 146        proc export data=stress2 DBMS=xls replace
 147        outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2_1.xls';
 148        proc print; run;
 149        
 150        proc export data=stress2 DBMS=csv replace
 151        outfile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2_1.txt';
 152        
 153        
 154        
 155        
 156        
 157        
 158        ods rtf
 159        file='/folders/myfolders/DATASETS/stress2_1.rtf';
 160        */
 161        
 162        
 163        
 164        
 165        
 166        
 167        
 168        
 169        
 170        
 171        
 172        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 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: File DAT_RAW.STRESS2.DATA does not exist. 
 ERROR: Export unsuccessful.  See SAS Log for details.
 184        &lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690064#M209858</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690072#M209862</link>
      <description>&lt;P&gt;Copy the LOG as text, paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon. We need to see the ENTIRE log for these steps (and not for dozens of steps before this). Show us the LOG for these steps, including code as it appears in the log, along with all ERRORs, NOTEs and WARNINGs, for these steps, unedited. Do not show us screen captures of LOG or SAS code.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690072#M209862</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-08T15:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690075#M209865</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have edited the post and included the log. thanks!</description>
      <pubDate>Thu, 08 Oct 2020 16:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690075#M209865</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690086#M209874</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;DIV class="sasSource"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Often means that you have more than one SAS session open at one time. The the SASUSER.PARMS is used to maintain some of your user preferences or custom SAS settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More of concern is why are you reading the file with a data step and then overwriting it with a Proc import call?&lt;/P&gt;
&lt;P&gt;The note: Unable to sample external file, no data in first 5 records&lt;/P&gt;
&lt;P&gt;means that from what SAS is seeing your text file has nothing in it for the first 5 lines and Proc import is quitting because of no valid data.&lt;/P&gt;
&lt;P&gt;There is not need to go to the headache of creating a PDF file, which is throwing an error when I try to read it. Copy the text and paste into a code box opened on the forum using the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690086#M209874</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-08T16:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690087#M209875</link>
      <description>&lt;P&gt;The problem is partly your second line of code. This doesn't do anything and may have destroyed your input data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code is currently taking a data set, writing it out &lt;STRONG&gt;fixed width file&lt;/STRONG&gt; and then tries to read it back in as &lt;STRONG&gt;tab delimited&lt;/STRONG&gt;. Is that what you intended?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dat_raw.stress2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The log: "&lt;/P&gt;
&lt;DIV class="sasSource"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;Unable to sample external file, no data in first 5 records&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;"&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone know why this data is not importing correctly? note:&amp;nbsp; I have corrected the spelling error in the out statement already.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fKn6smG - Imgur.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50375iBCCBE40B172C5B5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="fKn6smG - Imgur.png" alt="fKn6smG - Imgur.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690087#M209875</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690089#M209877</link>
      <description>&lt;P&gt;I was trying to create a fixed file stress2_1.txt from the permanent data set stress2, then to go on and open the file with the import function and to also export it as a xlx and a csv file.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690089#M209877</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690092#M209880</link>
      <description>I have updated the post again with the code blocks.</description>
      <pubDate>Thu, 08 Oct 2020 16:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690092#M209880</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690093#M209881</link>
      <description>I was trying to create the permenant data set, stress2 from the folder dat_raw. with the proc import statement I am simply trying to print the results of the data set stress2.</description>
      <pubDate>Thu, 08 Oct 2020 16:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690093#M209881</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690094#M209882</link>
      <description>&lt;P&gt;As your first DATA statement very effectively destroyed the dataset ("1 observation and&amp;nbsp;&lt;FONT color="#FF0000"&gt;0&lt;FONT color="#000000"&gt; variables"), you first need to recreate the dataset.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;And remove that statement.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690094#M209882</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-08T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690097#M209885</link>
      <description>Don't re-use the same data set name multiple times and I'd very strongly advise you to add comments to explain to yourself what you think is happening. Note that your import also replaces the data set you already had since it writes out to the same data set name. Putting a comment about what each input/output is expected from each step helps you avoid logical errors like this.</description>
      <pubDate>Thu, 08 Oct 2020 16:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690097#M209885</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T16:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690098#M209886</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was trying to create a fixed file stress2_1.txt from the permanent data set stress2,&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That part of your code is correct, except for the fact that the prior step destroyed the stress2 part and you did not export the variable names.&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/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;open the file with the import function&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You cannot do that for a fixed width file. You need to write a data step to import data when it's been exported as fixed width file. If you exported it as tab or comma delimited then you could read it. In a fixed width file, records can be all squished together so the compiler cannot interpret where variables start and end with any certainty. When you import it, you should give it a unique name otherwise it replaces your old data set. Until you have it correctly coded, this isn't really what you want to do.&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/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;to also export it as a xlx and a csv file.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your code for that is fine - try it based on a different data set or directly from the raw_data.stress2 data set.&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/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was trying to create a fixed file stress2_1.txt from the permanent data set stress2, then to go on and open the file with the import function and to also export it as a xlx and a csv file.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:49:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690098#M209886</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T16:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690099#M209887</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I created a new data set&lt;BR /&gt;&lt;BR /&gt;data stress2_1;&lt;BR /&gt;proc import datafile='/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt'&lt;BR /&gt;DBMS=tab out=stress2_1 replace;&lt;BR /&gt;proc print; run;&lt;BR /&gt;&lt;BR /&gt;stress2 still seems to be emptied.</description>
      <pubDate>Thu, 08 Oct 2020 16:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690099#M209887</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690102#M209888</link>
      <description>Fix one thing at a time. First confirm your original stress2 data still exists. &lt;BR /&gt;Run the following to do that:&lt;BR /&gt;&lt;BR /&gt;proc contents data=data_raw.stress2;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Second confirm your export works as expected. Go open the text file and see if has the headers and values expected. &lt;BR /&gt;&lt;BR /&gt;You cannot export a file using a fixed width format and then try and read it in again using PROC IMPORT. You need to write a data step to read it in instead. That would be step 3.</description>
      <pubDate>Thu, 08 Oct 2020 16:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690102#M209888</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T16:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690103#M209889</link>
      <description>I thought you said dat_raw.stress2 was deleting everything?</description>
      <pubDate>Thu, 08 Oct 2020 17:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690103#M209889</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T17:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690105#M209891</link>
      <description>I don;t know what "write the data step to read it instead" means</description>
      <pubDate>Thu, 08 Oct 2020 17:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690105#M209891</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690106#M209892</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I thought you said dat_raw.stress2 was deleting everything?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what you're asking here.&amp;nbsp;&lt;BR /&gt;That is just a reference to a data set in your sentence above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I said that this line (note the &lt;STRONG&gt;DATA&lt;/STRONG&gt;) &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;may&lt;/STRONG&gt;&lt;/FONT&gt; delete your original data set, which is why I'm asking you to confirm that it does exist before proceeding further.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dat_raw.stress2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 17:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690106#M209892</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690108#M209894</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I don;t know what "write the data step to read it instead" means&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You're jumping to step three. What happened with the first two steps?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 17:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690108#M209894</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T17:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690117#M209895</link>
      <description>&lt;P&gt;Okay, The dataset exists but the data doesn't print out as expected so exports don't work&lt;BR /&gt;data stress2;&lt;BR /&gt;file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt';&lt;BR /&gt;put name 1-20 resthr 22-24 maxhr 26-28 rechr 30-32 timemin 34-36 timesec 38-40&lt;BR /&gt;tolerance 42;&lt;BR /&gt;proc print; run;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 17:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690117#M209895</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T17:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690128#M209897</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Okay, The dataset exists but the &lt;STRONG&gt;data doesn't print out as expected&lt;/STRONG&gt; so exports don't work&lt;BR /&gt;data stress2;&lt;BR /&gt;file '/folders/myfolders/DATASETS/DAT/dat_raw/stress2.txt';&lt;BR /&gt;put name 1-20 resthr 22-24 maxhr 26-28 rechr 30-32 timemin 34-36 timesec 38-40&lt;BR /&gt;tolerance 42;&lt;BR /&gt;proc print; run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So what do you "expect"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 17:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690128#M209897</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T17:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error: import unsuccessful. see log for details.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690165#M209918</link>
      <description>I don't know how to make it stop deleting the file.</description>
      <pubDate>Thu, 08 Oct 2020 19:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-import-unsuccessful-see-log-for-details/m-p/690165#M209918</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-10-08T19:58:22Z</dc:date>
    </item>
  </channel>
</rss>

