<?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 missing .lst files with proc import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/missing-lst-files-with-proc-import/m-p/200012#M49951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written up a short program to read csv files and run it on a sas unix server. If I use&lt;/P&gt;&lt;P&gt;"data infile " to read files there is no problem, it reads file and makes .log, .lst files. &lt;/P&gt;&lt;P&gt;When I read it with "proc import" it cannot, the log file doesn't have anything and&lt;/P&gt;&lt;P&gt;there is no .lst file showing print result. &lt;/P&gt;&lt;P&gt;Here I show the programs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;working one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename csvname '/home/usr08/newdata/abc15.csv';&lt;/P&gt;&lt;P&gt;data stockdata;&lt;/P&gt;&lt;P&gt;infile csvname dsd delimiter=',';&lt;/P&gt;&lt;P&gt;input var1 mmddyy10. var2 time12.3 var3 var4 var5 $;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;title "List of raw data";&lt;/P&gt;&lt;P&gt;proc print data=stockdata;&lt;/P&gt;&lt;P&gt;format var1 mmddyy10. var2 time 12.3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the one with "proc import"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;filename csvname '/home/usr08/newdata/abc15.csv';&lt;/P&gt;&lt;P&gt;proc import datafile=csvname out=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;stockdata &lt;/SPAN&gt;dbms=csv replace;&lt;/P&gt;&lt;P&gt;getnames=no;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;stockdata&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log file is empty so I cannot track down the error. Do you know why this is happening?&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;seckin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Aug 2015 16:31:46 GMT</pubDate>
    <dc:creator>seckin</dc:creator>
    <dc:date>2015-08-16T16:31:46Z</dc:date>
    <item>
      <title>missing .lst files with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/missing-lst-files-with-proc-import/m-p/200012#M49951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written up a short program to read csv files and run it on a sas unix server. If I use&lt;/P&gt;&lt;P&gt;"data infile " to read files there is no problem, it reads file and makes .log, .lst files. &lt;/P&gt;&lt;P&gt;When I read it with "proc import" it cannot, the log file doesn't have anything and&lt;/P&gt;&lt;P&gt;there is no .lst file showing print result. &lt;/P&gt;&lt;P&gt;Here I show the programs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;working one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename csvname '/home/usr08/newdata/abc15.csv';&lt;/P&gt;&lt;P&gt;data stockdata;&lt;/P&gt;&lt;P&gt;infile csvname dsd delimiter=',';&lt;/P&gt;&lt;P&gt;input var1 mmddyy10. var2 time12.3 var3 var4 var5 $;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;title "List of raw data";&lt;/P&gt;&lt;P&gt;proc print data=stockdata;&lt;/P&gt;&lt;P&gt;format var1 mmddyy10. var2 time 12.3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the one with "proc import"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;filename csvname '/home/usr08/newdata/abc15.csv';&lt;/P&gt;&lt;P&gt;proc import datafile=csvname out=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;stockdata &lt;/SPAN&gt;dbms=csv replace;&lt;/P&gt;&lt;P&gt;getnames=no;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;stockdata&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log file is empty so I cannot track down the error. Do you know why this is happening?&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;seckin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2015 16:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/missing-lst-files-with-proc-import/m-p/200012#M49951</guid>
      <dc:creator>seckin</dc:creator>
      <dc:date>2015-08-16T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: missing .lst files with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/missing-lst-files-with-proc-import/m-p/200013#M49952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An empty log file happens to me usually when I run SAS in batch mode with the name of a non-existing program file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 06:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/missing-lst-files-with-proc-import/m-p/200013#M49952</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-17T06:28:27Z</dc:date>
    </item>
  </channel>
</rss>

