<?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 Infile Format Question -Pipe delimtied file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Infile-Format-Question-Pipe-delimtied-file/m-p/3357#M1461</link>
    <description>infile "O:\Raw Data Extracts\Client.txt" recfm=v dsd dlm='|' pad missover LRECL=1100 firstobs=1;&lt;BR /&gt;
&lt;BR /&gt;
I am trying to import a file to SAS; it is a text file in a pipe delimited format. Though I am using dsd function it truncates 2 pipes as one pipe example&lt;BR /&gt;
&lt;BR /&gt;
Firstname|Lastname|City|PostalCode|Country&lt;BR /&gt;
Gautam|Mohorikar|Toronto||Canada&lt;BR /&gt;
&lt;BR /&gt;
Here If I import this file with the dsd statement, Canada will appear in the PostalCode column. &lt;BR /&gt;
&lt;BR /&gt;
But if this file was a comma delimited file the dsd function works well see the below command.&lt;BR /&gt;
&lt;BR /&gt;
infile "O:\Customer Knowledge\Client Information\Client.txt" recfm=v dsd dlm=',' pad missover LRECL=1100 firstobs=1;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I hope you guys can help.&lt;BR /&gt;
&lt;BR /&gt;
Thx,&lt;BR /&gt;
&lt;BR /&gt;
Gautam</description>
    <pubDate>Thu, 07 Jun 2007 15:24:02 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-06-07T15:24:02Z</dc:date>
    <item>
      <title>Infile Format Question -Pipe delimtied file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Infile-Format-Question-Pipe-delimtied-file/m-p/3357#M1461</link>
      <description>infile "O:\Raw Data Extracts\Client.txt" recfm=v dsd dlm='|' pad missover LRECL=1100 firstobs=1;&lt;BR /&gt;
&lt;BR /&gt;
I am trying to import a file to SAS; it is a text file in a pipe delimited format. Though I am using dsd function it truncates 2 pipes as one pipe example&lt;BR /&gt;
&lt;BR /&gt;
Firstname|Lastname|City|PostalCode|Country&lt;BR /&gt;
Gautam|Mohorikar|Toronto||Canada&lt;BR /&gt;
&lt;BR /&gt;
Here If I import this file with the dsd statement, Canada will appear in the PostalCode column. &lt;BR /&gt;
&lt;BR /&gt;
But if this file was a comma delimited file the dsd function works well see the below command.&lt;BR /&gt;
&lt;BR /&gt;
infile "O:\Customer Knowledge\Client Information\Client.txt" recfm=v dsd dlm=',' pad missover LRECL=1100 firstobs=1;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I hope you guys can help.&lt;BR /&gt;
&lt;BR /&gt;
Thx,&lt;BR /&gt;
&lt;BR /&gt;
Gautam</description>
      <pubDate>Thu, 07 Jun 2007 15:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Infile-Format-Question-Pipe-delimtied-file/m-p/3357#M1461</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-07T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Infile Format Question -Pipe delimtied file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Infile-Format-Question-Pipe-delimtied-file/m-p/3358#M1462</link>
      <description>Hi!&lt;BR /&gt;
  This is really not an ODS-related question. Your best bet for help with DATA step statements for INFILE and INPUT is Tech Support. To learn how to contact Tech Support, consult:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/index.html" target="_blank"&gt;http://support.sas.com/techsup/contact/index.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 07 Jun 2007 19:51:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Infile-Format-Question-Pipe-delimtied-file/m-p/3358#M1462</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-07T19:51:30Z</dc:date>
    </item>
  </channel>
</rss>

