<?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: Input syntax should be used in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115068#M259264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Does this look like what you want?&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data junk; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input var1 amount var3; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;informat amount dollar10.; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format amount dollar10.2; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cards; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12244 $1,499.99 144 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32189 $20,000 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;92314 49.28 3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2013 19:11:15 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-10-17T19:11:15Z</dc:date>
    <item>
      <title>Input syntax should be used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115067#M259263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt; Copy the raw data below into a SAS program.&amp;nbsp;&amp;nbsp; Using proc print, display the data so that all the Amount values are formatted like the Amount value in the first observation of the raw data.&amp;nbsp; b) Then, revise the data step so that a format for Amount is stored with the data set, and show the results in proc print, without using any format statement in proc print.&amp;nbsp; Use appropriate titles that identify which part of the exercise the output comes from.&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;
&lt;P&gt;12244 $1,499.99 144 &lt;/P&gt;
&lt;P&gt;32189 $20,000 1 &lt;/P&gt;
&lt;P&gt;92314 49.28 3&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;What type of format and informat should be used to get the output of the 2nd variable as the first observat format.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 17:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115067#M259263</guid>
      <dc:creator>lekha</dc:creator>
      <dc:date>2013-10-17T17:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Input syntax should be used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115068#M259264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Does this look like what you want?&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data junk; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input var1 amount var3; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;informat amount dollar10.; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format amount dollar10.2; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cards; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12244 $1,499.99 144 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32189 $20,000 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;92314 49.28 3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 19:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115068#M259264</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-10-17T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Input syntax should be used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115069#M259265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. I did use this format syntax but didn't work for me. I used the informat syntax in the input statement, may be that's what gave me errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 19:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-syntax-should-be-used/m-p/115069#M259265</guid>
      <dc:creator>lekha</dc:creator>
      <dc:date>2013-10-17T19:58:50Z</dc:date>
    </item>
  </channel>
</rss>

