<?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: data import in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34483#M4991</link>
    <description>One entry per question please.</description>
    <pubDate>Thu, 21 May 2009 03:41:46 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2009-05-21T03:41:46Z</dc:date>
    <item>
      <title>data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34481#M4989</link>
      <description>importing data with the following format:&lt;BR /&gt;
&lt;BR /&gt;
test&amp;gt;lname&amp;gt;fname&amp;gt;l&amp;gt;someid&amp;gt;newid&amp;gt;testcode&amp;gt;3&amp;gt;&amp;gt;311&amp;gt;345&amp;gt;EN\&lt;BR /&gt;
        U&amp;gt;Sun Certified System Administrator for Sun Cluster 3.2&amp;gt;SE345&amp;gt;\&lt;BR /&gt;
        A&amp;gt;100&amp;gt;0&amp;gt;0&amp;gt;1&amp;gt;DTW&amp;gt;04/26/2007&amp;gt;10:28:27&amp;gt;02:11:27&amp;gt;ny130&amp;gt;1&amp;gt;191 fitzpa\&lt;BR /&gt;
        trick trail&amp;gt;address&amp;gt;st&amp;gt;14586&amp;gt;USA&amp;gt;1&amp;gt;5853346029&amp;gt;&amp;gt;NONE GIVE\&lt;BR /&gt;
        N&amp;gt;0&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;2&amp;gt;emp_no=eds3009&amp;gt;se_email=carin.maxson@eds.com&amp;gt;0&amp;gt;75&amp;gt;&amp;gt;\&lt;BR /&gt;
        129/42/0/t&amp;gt;0&amp;gt;200&amp;gt;2&amp;gt;NDA&amp;gt;seNDA&amp;gt;n&amp;gt;p&amp;gt;0&amp;gt;0&amp;gt;&amp;gt;0/0/0/t&amp;gt;Sun Certified Sys\&lt;BR /&gt;
        tem Administrator for Sun Cluster 3.2&amp;gt;mainA&amp;gt;s&amp;gt;p&amp;gt;0&amp;gt;75&amp;gt;&amp;gt;129/42/0/\&lt;BR /&gt;
        t&amp;gt;0&amp;gt;176&amp;gt;NDA2002.1a&amp;gt;2&amp;gt;0&amp;gt;&amp;gt;2&amp;gt;s&amp;gt;A&amp;gt;0&amp;gt;9&amp;gt;&amp;gt;NDA2002.2a&amp;gt;2&amp;gt;0&amp;gt;&amp;gt;3&amp;gt;s&amp;gt;B&amp;gt;0&amp;gt;36&amp;gt;&amp;gt;\&lt;BR /&gt;
 .....more data&lt;BR /&gt;
&lt;BR /&gt;
note how some data is moved to following line.  the "/" is a line continuation character in the data.  how to address that is my issue</description>
      <pubDate>Wed, 20 May 2009 19:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34481#M4989</guid>
      <dc:creator>jbr</dc:creator>
      <dc:date>2009-05-20T19:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34482#M4990</link>
      <description>Do you mean "\" is a line continuation character ?&lt;BR /&gt;
&lt;BR /&gt;
The data is difficult to decipher. &lt;BR /&gt;
&lt;BR /&gt;
What would the records look like if they were stored one per line?</description>
      <pubDate>Thu, 21 May 2009 03:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34482#M4990</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-05-21T03:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34483#M4991</link>
      <description>One entry per question please.</description>
      <pubDate>Thu, 21 May 2009 03:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34483#M4991</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-05-21T03:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34484#M4992</link>
      <description>I am not sure you need to be concerned about a line-continuation character, which I believe is a back-slash, not a forward-slash.  And, from your data, the column-delimiter might be "&amp;gt;" - correct?&lt;BR /&gt;
&lt;BR /&gt;
With this in mind, the SAS INPUT process can read from multiple lines based on INFILE statement parameters.  However, you will need to address the back-slash character during INPUT -- it likely has no real purpose with SAS performing INPUT statement.&lt;BR /&gt;
&lt;BR /&gt;
My recommendation is you start by coding up a DATA step to read your input file with an INPUT statement and the desired INFORMATs, depending on your data.  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 21 May 2009 11:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34484#M4992</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-21T11:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34485#M4993</link>
      <description>yes the 'backslash' is the line continuation character and the delimiter is '&amp;gt;'</description>
      <pubDate>Thu, 21 May 2009 14:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34485#M4993</guid>
      <dc:creator>jbr</dc:creator>
      <dc:date>2009-05-21T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: data import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34486#M4994</link>
      <description>that is a very inconvenient structure for SAS input routines.&lt;BR /&gt;
It looks like a stream. Line breaks occur within words.&lt;BR /&gt;
Is there an expected order for this information ?&lt;BR /&gt;
Is there some equivalent to a "row delimiter" ?</description>
      <pubDate>Thu, 21 May 2009 15:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/data-import/m-p/34486#M4994</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-05-21T15:10:12Z</dc:date>
    </item>
  </channel>
</rss>

