<?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 CSV Import(, at the beginning of the values?) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424531#M104542</link>
    <description>&lt;P&gt;Hi I'm getting weird output after running the below program. Basically I've excel CSV file and importing the data using infile with&amp;nbsp;defined variables. But I'm getting the comma in the&amp;nbsp;data values&amp;nbsp;as mentioned below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; A_dsn;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; filename &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;delimiter&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;' '&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DSD&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lrecl&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32767&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;firstobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Claim_Reference $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;15.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Sent_From $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Sent_To $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Subject $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Document_Name $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;reference&lt;/TD&gt;&lt;TD&gt;from&lt;/TD&gt;&lt;TD&gt;to&lt;/TD&gt;&lt;TD&gt;subject&lt;/TD&gt;&lt;TD&gt;Document_name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;454/154963,&lt;/TD&gt;&lt;TD&gt;&lt;A href="mailto:example@mail.com" target="_blank"&gt;example@mail.com&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;,example1@mail.com&lt;/TD&gt;&lt;TD&gt;,sample subject&lt;/TD&gt;&lt;TD&gt;,sample document name&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any chance I can improve the program ?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 10:27:51 GMT</pubDate>
    <dc:creator>Reddi</dc:creator>
    <dc:date>2018-01-03T10:27:51Z</dc:date>
    <item>
      <title>CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424531#M104542</link>
      <description>&lt;P&gt;Hi I'm getting weird output after running the below program. Basically I've excel CSV file and importing the data using infile with&amp;nbsp;defined variables. But I'm getting the comma in the&amp;nbsp;data values&amp;nbsp;as mentioned below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; A_dsn;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; filename &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;delimiter&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;' '&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DSD&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lrecl&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32767&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;firstobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Claim_Reference $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;15.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Sent_From $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Sent_To $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Subject $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Document_Name $ &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;reference&lt;/TD&gt;&lt;TD&gt;from&lt;/TD&gt;&lt;TD&gt;to&lt;/TD&gt;&lt;TD&gt;subject&lt;/TD&gt;&lt;TD&gt;Document_name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;454/154963,&lt;/TD&gt;&lt;TD&gt;&lt;A href="mailto:example@mail.com" target="_blank"&gt;example@mail.com&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;,example1@mail.com&lt;/TD&gt;&lt;TD&gt;,sample subject&lt;/TD&gt;&lt;TD&gt;,sample document name&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any chance I can improve the program ?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 10:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424531#M104542</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2018-01-03T10:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424537#M104545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/131207"&gt;@Reddi&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share a portion of your csv file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers,&lt;BR /&gt;Damo&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 10:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424537#M104545</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2018-01-03T10:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424540#M104547</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13934"&gt;@Damo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the file attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;redid.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 11:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424540#M104547</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2018-01-03T11:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424542#M104548</link>
      <description>&lt;P&gt;Why are you reading a&amp;nbsp;&lt;STRONG&gt;C&lt;/STRONG&gt;omma Speparated Variable file, and yet setting the delimiter to a space?&amp;nbsp; The delimiter in a CSV is a comma - its in the name!&amp;nbsp; The simplest method to import a CSV is via proc import, however that removes some of the control.&amp;nbsp; Better to read in via a datastep as you are doing, and specify what the input/output formats should be, lengths, labels etc.&amp;nbsp; This gives you full control over the import and makes it repeatable (as proc import is a guessing procedure).&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 11:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424542#M104548</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-03T11:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424543#M104549</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;That was just a trial to give space in the delimiter but no use.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2018 11:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424543#M104549</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2018-01-03T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424547#M104551</link>
      <description>&lt;P&gt;Then what is the question?&amp;nbsp; I have answered the question as presented in your first post which stated:&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;Hi I'm getting weird output after running the below program. Basically I've excel CSV file and importing the data using infile with&amp;nbsp;defined variables. &lt;U&gt;&lt;STRONG&gt;But I'm getting the comma in the&amp;nbsp;data values&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;as mentioned below."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what would you like us to answer?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 11:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424547#M104551</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-03T11:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424551#M104552</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree but&amp;nbsp; I'm getting comma(,) along with actual values and I want to get rid of this and expecting only values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reddi.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 12:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424551#M104552</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2018-01-03T12:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424554#M104554</link>
      <description>&lt;P&gt;Post the code you are actually using. In the code you have posted using the wrong delimiter is most likely causing the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 12:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424554#M104554</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-01-03T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424564#M104559</link>
      <description>&lt;PRE&gt;infile filename delimiter = ' ' truncover DSD lrecl=32767 firstobs=2;&lt;/PRE&gt;
&lt;P&gt;&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp;^&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I highlight the issue above, a delimeter tells SAS where to start and stop reading the data, and drops the delimiter.&amp;nbsp; If you specify space as delimiter, then SAS will start and stop reading each time it encounters a space, and will drop the space.&amp;nbsp; Therefore if you read the file in with delimiter=' ', commas will not be automatically dropped as being the delimiter, only space.&amp;nbsp; You can correct this action by presenting the correct delimiter which is a comma:&lt;/P&gt;
&lt;PRE&gt;infile filename delimiter = ',' truncover DSD lrecl=32767 firstobs=2;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jan 2018 14:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424564#M104559</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-03T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424565#M104560</link>
      <description>&lt;P&gt;If you use the right delimiter, bang! - it works:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
infile '$HOME/sascommunity/sample.csv' dlm=',' truncover firstobs=2;
input
  claim_ref :$15.
  sent_from :$50.
  sent_to :$50.
  subject :$30.
  doc_name :$24.
;
run;

proc print data=want noobs;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;  claim_ref                      sent_from                              sent_to

AA/1/  /123456    AAAAAAAmotorserviceclaims@AAAAAAA.co.uk    claimsdocumentation@aaaa.co.uk
AA/1/BB/234567    AAAAAAAmotorserviceclaims@AAAAAAA.co.uk    Mashh.aaaaa@aaaaaaaaa.com     

           subject                        doc_name

AAAAAAA Claim Reference AA/1/     I12345-01.12.17-05:43:01
AAAAAAA Claim Reference AA/1/B    I23456-01.12.17-05:45:09
&lt;/PRE&gt;
&lt;P&gt;You might consider post-processing to get the timestamps out of doc_name, for instance.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 14:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424565#M104560</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-03T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424582#M104564</link>
      <description>&lt;P&gt;Don't use formatted input with a delimited file. Use list mode input instead. You can either define your variables first (always a good habit to get into) and then just list them in the INPUT statement.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a_dsn;
  infile filename truncover DSD lrecl=32767 firstobs=2;
  length Claim_Reference $15 Sent_From $50 Sent_To $50 Subject $50 Document_Name $50;
  input Claim_Reference -- Document_Name ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or add the : (colon) modifier before any informats that you have in-line in the INPUT statement. That way you are still using list mode input even though you have included informats.&amp;nbsp; And the presence of the informats at the first reference to the variable names will let SAS &lt;STRONG&gt;guess&lt;/STRONG&gt; that you wanted to define the variables with a length that matches the width of the informat specification instead of using&amp;nbsp; the default length of $8 for character variables.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a_dsn;
  infile filename truncover DSD lrecl=32767 firstobs=2;
  input Claim_Reference :$15. Sent_From :$50. Sent_To :$50. Subject :$50. Document_Name :$50;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also note that the $ is part of the informat name.&amp;nbsp; If you code it the way you have you are telling SAS to read a character variable, because of the stand alone $, and then also telling it to use a numeric format.&amp;nbsp; SAS will kindly recognize that it cannot read a character variable using the 10. informat and so will convert it to use the $10. informat instead.&amp;nbsp; But other places where you can specify an informat will not be so accepting of the extra space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 15:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424582#M104564</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-01-03T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Import(, at the beginning of the values?)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424827#M104597</link>
      <description>&lt;P&gt;Right on Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the support everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reddi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 05:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CSV-Import-at-the-beginning-of-the-values/m-p/424827#M104597</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2018-01-04T05:48:12Z</dc:date>
    </item>
  </channel>
</rss>

