<?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: reading raw data in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/402772#M19567</link>
    <description>&lt;P&gt;Show the code you are using to read the file.&lt;/P&gt;
&lt;P&gt;Possible causes of issues without seeing code are 1) lrecl option on an infile statement not large enough to read the entire line, 2) the length of the variable reading that long column was not set large enough to hold the values&lt;/P&gt;
&lt;P&gt;3) possibly you need the DSD option to allow reading commas&amp;nbsp;inside a quoted string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post example CSV data as actual TXT file or copy from the CSV opened with Notepad, Wordpad or other text editor.. It looks like you copied something from Excel and Excel does not actually show the content of CSV as it strips out details. It would also be a good idea to paste the example data into a code box opened using the forum {I} menu icon to prevent the message window from reformatting text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 14:33:04 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-10-10T14:33:04Z</dc:date>
    <item>
      <title>reading raw data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/402746#M19566</link>
      <description>&lt;P&gt;I am reading a comma separated raw data file which has blank spaces in between and data is in " ". I am able to read all the columns using infile statement but I got stuck at one point that is one of the column has &amp;nbsp;values which are tabs of spaces in between which is making it a larger length column. It is a sql server output data where the length of that column in $4000 i have taken the same in SAS&amp;nbsp;as well but without reading the whole it jumps to the next column and put the remaining text in the next column. Please help me on this. Putting the sample value for that column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;$12,8 to your account.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Some&amp;nbsp;Tracking Number:&amp;nbsp;4556556&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other Tracking Number:&amp;nbsp;4554545454545&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other input Number:&amp;nbsp;47876546321654&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 13:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/402746#M19566</guid>
      <dc:creator>suraj</dc:creator>
      <dc:date>2017-10-10T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: reading raw data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/402772#M19567</link>
      <description>&lt;P&gt;Show the code you are using to read the file.&lt;/P&gt;
&lt;P&gt;Possible causes of issues without seeing code are 1) lrecl option on an infile statement not large enough to read the entire line, 2) the length of the variable reading that long column was not set large enough to hold the values&lt;/P&gt;
&lt;P&gt;3) possibly you need the DSD option to allow reading commas&amp;nbsp;inside a quoted string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post example CSV data as actual TXT file or copy from the CSV opened with Notepad, Wordpad or other text editor.. It looks like you copied something from Excel and Excel does not actually show the content of CSV as it strips out details. It would also be a good idea to paste the example data into a code box opened using the forum {I} menu icon to prevent the message window from reformatting text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:33:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/402772#M19567</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-10-10T14:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: reading raw data</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/403080#M19577</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I am sharing the code with you with data file the data file has only one row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data New;&lt;BR /&gt;infile '/home/temp/sample.csv' dlm="|" dsd firstobs=3 truncover LRECL=1000000 ;&lt;BR /&gt;input&lt;BR /&gt;Col1 :$100.&lt;BR /&gt;Col2 :$100.&lt;BR /&gt;Col3 :$100.&lt;BR /&gt;Col4 :$100.&lt;BR /&gt;Col5 :$100.&lt;BR /&gt;Col6 :$100.&lt;BR /&gt;Col7 :$100.&lt;BR /&gt;Col8 :$100.&lt;BR /&gt;Col9 :$100.&lt;BR /&gt;Col10 :$100.&lt;BR /&gt;Col11 :$100.&lt;BR /&gt;Col12 :$100.&lt;BR /&gt;Col13 :$100.&lt;BR /&gt;Col14 :$100.&lt;BR /&gt;Col15 :$100.&lt;BR /&gt;Col16 :$100.&lt;BR /&gt;Col17 :$100.&lt;BR /&gt;Col18 :$100.&lt;BR /&gt;Col19 :$100.&lt;BR /&gt;Col20 :$100.&lt;BR /&gt;Col21 :$100.&lt;BR /&gt;Col22 :$100.&lt;BR /&gt;Col23 :$100.&lt;BR /&gt;Col24 :$100.&lt;BR /&gt;Col25 :$100.&lt;BR /&gt;Col26 :$100.&lt;BR /&gt;Col27 :$100.&lt;BR /&gt;Col28 :$100.&lt;BR /&gt;Col29 :$100.&lt;BR /&gt;Col30 :$100.&lt;BR /&gt;Col31 :$100.&lt;BR /&gt;Col32 :$100.&lt;BR /&gt;Col33 :$100.&lt;BR /&gt;Col34 :$100.&lt;BR /&gt;Col35 :$100.&lt;BR /&gt;Col36 :$100.&lt;BR /&gt;Col37 :$100.&lt;BR /&gt;Col38 :$100.&lt;BR /&gt;Col39 :$100.&lt;BR /&gt;Col40 :$100.&lt;BR /&gt;Col41 :$100.&lt;BR /&gt;Col42 :$100.&lt;BR /&gt;Col43 :$100.&lt;BR /&gt;Col44 :$100.&lt;BR /&gt;Col45 :$100.&lt;BR /&gt;Col46 :$100.&lt;BR /&gt;Col47 :$100.&lt;BR /&gt;Col48 :$100.&lt;BR /&gt;Col49 :$100.&lt;BR /&gt;Col50 :$100.&lt;BR /&gt;Col51 :$100.&lt;BR /&gt;Col52 :$100.&lt;BR /&gt;Col53 :$100.&lt;BR /&gt;Col54 :$5000.&lt;BR /&gt;Col55 :$5000.&lt;BR /&gt;Col56 :$5000.&lt;BR /&gt;Col57 :$5000.&lt;BR /&gt;Col58 :$5000.&lt;BR /&gt;Col59 :$5000.&lt;BR /&gt;Col60 :$5000.&lt;BR /&gt;Col61 :$5000.&lt;BR /&gt;Col62 :$5000.&lt;BR /&gt;Col63 :$5000.&lt;BR /&gt;Col64 :$5000.&lt;BR /&gt;Col65 :$5000.&lt;BR /&gt;Col66 :$5000.&lt;BR /&gt;Col67 :$5000.&lt;BR /&gt;Col68 :$5000.&lt;BR /&gt;Col69 :$5000.&lt;BR /&gt;Col70 :$5000.&lt;BR /&gt;Col71 :$5000.&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 09:54:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/reading-raw-data/m-p/403080#M19577</guid>
      <dc:creator>suraj</dc:creator>
      <dc:date>2017-10-11T09:54:37Z</dc:date>
    </item>
  </channel>
</rss>

