<?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: Newbie: Help me understand what's wrong in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239921#M44212</link>
    <description>&lt;P&gt;All you need is mixed input style&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data money;
infile datalines dlm='@';
input Name $ Salary :DOLLAR12.2 Bonus :DOLLAR12.2 Age;
datalines;
Harry@$50,000.00@$3,500.00@45
Larry@$30,000.00@$10,500.00@55
Jerry@$1,000,000.00@$100,500.00@21
;

proc print data = money;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;when you prefix the informat with colon, the character field is extracted before the informat is applied.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 04:01:35 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-12-18T04:01:35Z</dc:date>
    <item>
      <title>Newbie: Help me understand what's wrong</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239920#M44211</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data money;
infile datalines dlm='@';
input Name $ Salary DOLLAR12.2 Bonus DOLLAR12.2 Age;
datalines;
Harry@$50,000.00@$3,500.00@45
Larry@$30,000.00@$10,500.00@55
Jerry@$1,000,000.00@$100,500.00@21
;

proc print data = money;
run;
proc contents data=money;
run;&lt;/PRE&gt;&lt;P&gt;So I was running the above code and was expecting the '@' symbol to act as a delimiter, however that doesn't seem to be the case. Can someone help me UNDERSTAND what's wrong? Just to note, I'm just experimenting with SAS to get better at it. The output I get is below:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Obs	Name	Salary	Bonus	Age
1	Harry	.	.	.
2	Larry	.	.	.
3	Jerry	1000000	.	0&lt;/PRE&gt;&lt;P&gt;Thanks much!!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 03:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239920#M44211</guid>
      <dc:creator>Durlov</dc:creator>
      <dc:date>2015-12-18T03:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie: Help me understand what's wrong</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239921#M44212</link>
      <description>&lt;P&gt;All you need is mixed input style&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data money;
infile datalines dlm='@';
input Name $ Salary :DOLLAR12.2 Bonus :DOLLAR12.2 Age;
datalines;
Harry@$50,000.00@$3,500.00@45
Larry@$30,000.00@$10,500.00@55
Jerry@$1,000,000.00@$100,500.00@21
;

proc print data = money;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;when you prefix the informat with colon, the character field is extracted before the informat is applied.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 04:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239921#M44212</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-12-18T04:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie: Help me understand what's wrong</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239924#M44213</link>
      <description>&lt;P&gt;Oh! Thanks! It's working as expected now.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 04:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Newbie-Help-me-understand-what-s-wrong/m-p/239924#M44213</guid>
      <dc:creator>Durlov</dc:creator>
      <dc:date>2015-12-18T04:06:48Z</dc:date>
    </item>
  </channel>
</rss>

