<?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: Issue with sas only reading every other line from my excel file. in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128667#M1323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, technically you are not reading an Excel file; you are reading a comma-separated values (CSV) file that you might have created from Excel.&amp;nbsp; If you did a "Save as" from Excel, this is just a plain old text file that is a copy of the rows and columns that were in your spreadsheet.&amp;nbsp; Just remember that it is just a copy; if you change the data in the spreadsheet it will not be changed in the CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it can be confusing because Excel will open the CSV file and display it as a worksheet.&amp;nbsp; That's just Excel trying ot be helpful.&amp;nbsp; If all you have is a file with this "csv" file type, it's just a plain text file.&amp;nbsp; It would only be a real Excel workbook if you did a "Save as" and chose to save it as an Excel workbook.&amp;nbsp; As before, this would just make a separate copy into a completely different file (with a file type of "xls" or "xlsx" depending on the version of Excel you saved it as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And SAS doesn't really have a preference.&amp;nbsp; If you have SAS Access to PC File Formats licensed and installed on your PC, SAS can read the Excel spreadsheet directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The particular problem you ran into is very common.&amp;nbsp; The "default" record length for external files is only 256 characters.&amp;nbsp; I wish SAS would change it generally to avoid this problem but I suppose they have some reason not to do so.&amp;nbsp; The other thing you could do is add this statement to your "autoexec.sas" file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options lrecl=32000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will change the option for all your SAS sessions, in case you forget to add it to your INFILE statement.&amp;nbsp; I do that myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 20:14:13 GMT</pubDate>
    <dc:creator>BobD</dc:creator>
    <dc:date>2012-05-29T20:14:13Z</dc:date>
    <item>
      <title>Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128660#M1316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have 4 treatments. Two of the treatments are replicated 4 times and two of them are replicated 3 times. There are about 40 variables (I know its a lot). When I am trying to simply read the data into SAS and proc print it....SAS keeps giving me no more than 7 observations and is skipping every other line from my excel file (comma delimited and infiled). how do I get sas to read all my treatments?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;this is my code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;data transabro5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;infile 'C:\Users\pc\Documents\tranposedtop20.csv' firstobs = 2 dlm = ',' obs = 50;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;input trt $&amp;nbsp;&amp;nbsp;&amp;nbsp; Aliivibriofischeri&amp;nbsp;&amp;nbsp;&amp;nbsp; Aliivibriosalmonicida&amp;nbsp;&amp;nbsp;&amp;nbsp; Alteromonasmacleodii&amp;nbsp;&amp;nbsp;&amp;nbsp; Arcobacterbutzleri&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobacterconcisus&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobactercurvus&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobacterfetus&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobacterhominis&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobacterjejuni&amp;nbsp;&amp;nbsp;&amp;nbsp; Colwelliapsychrerythraea&amp;nbsp;&amp;nbsp;&amp;nbsp; Escherichiacoli&amp;nbsp;&amp;nbsp;&amp;nbsp; Helicobacterhepaticus&amp;nbsp;&amp;nbsp;&amp;nbsp; Helicobacterpylori&amp;nbsp;&amp;nbsp;&amp;nbsp; NitratiruptorspSB&amp;nbsp;&amp;nbsp;&amp;nbsp; Photobacteriumangustum&amp;nbsp;&amp;nbsp;&amp;nbsp; Photobacteriumprofundum&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudoalteromonasatlantica&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudoalteromonashaloplanktis&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudoalteromonastunicata&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudomonasaeruginosa&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudomonasfluorescens&amp;nbsp;&amp;nbsp;&amp;nbsp; Pseudomonasputida&amp;nbsp;&amp;nbsp;&amp;nbsp; Salmonellaenterica&amp;nbsp;&amp;nbsp;&amp;nbsp; Shewanellabaltica&amp;nbsp;&amp;nbsp;&amp;nbsp; Shewanellafrigidimarina&amp;nbsp;&amp;nbsp;&amp;nbsp; Shewanellapealeana&amp;nbsp;&amp;nbsp;&amp;nbsp; ShewanellaspW&amp;nbsp;&amp;nbsp;&amp;nbsp; Sulfurimonasdenitrificans&amp;nbsp;&amp;nbsp;&amp;nbsp; Sulfurospirillumdeleyianum&amp;nbsp;&amp;nbsp;&amp;nbsp; SulfurovumspNBC&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibrio alginolyticus&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibriocholerae&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibrioharveyi&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibrioparahaemolyticus&amp;nbsp;&amp;nbsp;&amp;nbsp; VibriospEx&amp;nbsp;&amp;nbsp;&amp;nbsp; VibriospMED&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibriosplendidus Vibriovulnificus Wolinellasuccinogenes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;proc print data = transabro5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;this is my output &lt;/STRONG&gt;(I renumbered the treatments 1 through 14 to see if it was an issue with SAS merging my treatments that were numbered the same....that does not seem to be the issue)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Obs trt&amp;nbsp; Aliivibriofischeri&amp;nbsp; Aliivibriosalmonicida&amp;nbsp; Alteromonasmacleodii&amp;nbsp; Arcobacterbutzleri&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.34308&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.46310&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.16862&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21.5209&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.31566&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.67714&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.19690&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12.1740&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.72847&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.81170&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.46672&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.3411&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.48375&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.99314&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.21128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2287&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 5&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.21311&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.92660&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.15830&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.3156&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 6&amp;nbsp;&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.71651&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.06593&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.35935&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0904&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; 7&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.27903&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.97390&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.45478&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.3671&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 18:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128660#M1316</guid>
      <dc:creator>mar</dc:creator>
      <dc:date>2012-05-29T18:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128661#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll bet you have some interesting messages in the SAS LOG.&amp;nbsp; It should help you understand the problem.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 18:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128661#M1317</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-05-29T18:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128662#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding LRECL=32000 TRUNCOVER to your INFILE statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;infile 'C:\Users\pc\Documents\tranposedtop20.csv' firstobs = 2 dlm = ',' obs = 50 LRECL=32000 TRUNCOVER;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;See if that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 18:57:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128662#M1318</guid>
      <dc:creator>BobD</dc:creator>
      <dc:date>2012-05-29T18:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128663#M1319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you VERY much for your suggestion. It has allowed me to read all of the treatments. Generally speaking does SAS prefer to read files from excel in a particular format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 19:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128663#M1319</guid>
      <dc:creator>mar</dc:creator>
      <dc:date>2012-05-29T19:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128664#M1320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still learning how to read the error logs with help from SAS user information and google.&amp;nbsp; Hoping to master SAS but its going to take me some time...lol&lt;/P&gt;&lt;P&gt;This is what I got and I didn't know how to interpret it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;128&lt;/P&gt;&lt;P&gt;129&amp;nbsp; data transabro8;&lt;/P&gt;&lt;P&gt;130&amp;nbsp; infile 'C:\Users\pc\Documents\tranposedtop20.csv' firstobs = 2 dlm = ',' obs = 50;&lt;/P&gt;&lt;P&gt;131&amp;nbsp; input trt $ Aliivibriofischeri&amp;nbsp; Aliivibriosalmonicida&amp;nbsp;&amp;nbsp; Alteromonasmacleodii&lt;/P&gt;&lt;P&gt;131! Arcobacterbutzleri&amp;nbsp; Campylobacterconcisus&amp;nbsp;&amp;nbsp; Campylobactercurvus Campylobacterfetus&lt;/P&gt;&lt;P&gt;131! Campylobacterhominis&amp;nbsp;&amp;nbsp;&amp;nbsp; Campylobacterjejuni Colwelliapsychrerythraea&amp;nbsp;&amp;nbsp;&amp;nbsp; Escherichiacoli&lt;/P&gt;&lt;P&gt;131! Helicobacterhepaticus&amp;nbsp;&amp;nbsp; Helicobacterpylori&amp;nbsp; NitratiruptorspSB&amp;nbsp;&amp;nbsp; Photobacteriumangustum&lt;/P&gt;&lt;P&gt;131! Photobacteriumprofundum Pseudoalteromonasatlantica&amp;nbsp; Pseudoalteromonashaloplanktis&lt;/P&gt;&lt;P&gt;131! Pseudoalteromonastunicata&amp;nbsp;&amp;nbsp; Pseudomonasaeruginosa&amp;nbsp;&amp;nbsp; Pseudomonasfluorescens&lt;/P&gt;&lt;P&gt;131! Pseudomonasputida&amp;nbsp;&amp;nbsp; Salmonellaenterica&amp;nbsp; Shewanellabaltica&amp;nbsp;&amp;nbsp; Shewanellafrigidimarina&lt;/P&gt;&lt;P&gt;131! Shewanellapealeana&amp;nbsp; ShewanellaspW&amp;nbsp;&amp;nbsp; Sulfurimonasdenitrificans&amp;nbsp;&amp;nbsp; Sulfurospirillumdeleyianum&lt;/P&gt;&lt;P&gt;131!&amp;nbsp; SulfurovumspNBC Vibrio alginolyticus&amp;nbsp;&amp;nbsp;&amp;nbsp; Vibriocholerae&amp;nbsp; Vibrioharveyi&lt;/P&gt;&lt;P&gt;131! Vibrioparahaemolyticus&amp;nbsp; VibriospEx&amp;nbsp; VibriospMED Vibriosplendidus Vibriovulnificus&lt;/P&gt;&lt;P&gt;131! Wolinellasuccinogenes;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The infile 'C:\Users\pc\Documents\tranposedtop20.csv' is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=C:\Users\pc\Documents\tranposedtop20.csv,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=256,File Size (bytes)=7319,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=29May2012:12:23:16,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create Time=25May2012:09:15:53&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: 14 records were read from the infile 'C:\Users\pc\Documents\tranposedtop20.csv'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 256.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 256.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One or more lines were truncated.&lt;/P&gt;&lt;P&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.TRANSABRO8 has 7 observations and 41 variables.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.07 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.06 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;132&amp;nbsp; proc print data = transabro8;&lt;/P&gt;&lt;P&gt;133&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 7 observations read from the data set WORK.TRANSABRO8.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 19:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128664#M1320</guid>
      <dc:creator>mar</dc:creator>
      <dc:date>2012-05-29T19:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128665#M1321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NOTE: 14 records were read from the infile 'C:\Users\pc\Documents\tranposedtop20.csv'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 256.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 256.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;One or more lines were truncated.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is indication that LRECL is too small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 19:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128665#M1321</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-05-29T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128666#M1322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While you're on the right road, I would suggest one further tweak.&amp;nbsp; At all costs, avoid the options TRUNCOVER and MISSOVER.&amp;nbsp; Most of the time, they will mask problems with your data.&amp;nbsp; Instead, use this option:&amp;nbsp; DSD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue you will be addressing is what happens when one of the columns from the source data file is blank?&amp;nbsp; There will be two commas in a row in the .csv file.&amp;nbsp; The DSD option tells SAS to treat them as separate delimiters, each marking the end of one of the fields you are trying to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck, and keep reading the log!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128666#M1322</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-05-29T20:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sas only reading every other line from my excel file.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128667#M1323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, technically you are not reading an Excel file; you are reading a comma-separated values (CSV) file that you might have created from Excel.&amp;nbsp; If you did a "Save as" from Excel, this is just a plain old text file that is a copy of the rows and columns that were in your spreadsheet.&amp;nbsp; Just remember that it is just a copy; if you change the data in the spreadsheet it will not be changed in the CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it can be confusing because Excel will open the CSV file and display it as a worksheet.&amp;nbsp; That's just Excel trying ot be helpful.&amp;nbsp; If all you have is a file with this "csv" file type, it's just a plain text file.&amp;nbsp; It would only be a real Excel workbook if you did a "Save as" and chose to save it as an Excel workbook.&amp;nbsp; As before, this would just make a separate copy into a completely different file (with a file type of "xls" or "xlsx" depending on the version of Excel you saved it as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And SAS doesn't really have a preference.&amp;nbsp; If you have SAS Access to PC File Formats licensed and installed on your PC, SAS can read the Excel spreadsheet directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The particular problem you ran into is very common.&amp;nbsp; The "default" record length for external files is only 256 characters.&amp;nbsp; I wish SAS would change it generally to avoid this problem but I suppose they have some reason not to do so.&amp;nbsp; The other thing you could do is add this statement to your "autoexec.sas" file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options lrecl=32000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will change the option for all your SAS sessions, in case you forget to add it to your INFILE statement.&amp;nbsp; I do that myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Issue-with-sas-only-reading-every-other-line-from-my-excel-file/m-p/128667#M1323</guid>
      <dc:creator>BobD</dc:creator>
      <dc:date>2012-05-29T20:14:13Z</dc:date>
    </item>
  </channel>
</rss>

