<?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: informat vs format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497619#M131946</link>
    <description>&lt;P&gt;It is simple to check the two functions in the online help under functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INPUT reads (converts text to another value using the rules in the informat)&lt;/P&gt;
&lt;P&gt;PUT writes (displays text based on the rules in the format)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Input may create either&amp;nbsp;numeric&amp;nbsp; or text values from text or text stored in a variable.&lt;/P&gt;
&lt;P&gt;Put always generates text output.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 23:24:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-09-20T23:24:23Z</dc:date>
    <item>
      <title>informat vs format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497587#M131922</link>
      <description>&lt;P&gt;why is the input(source, INFORMAT) while put(source, FORMAT)?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 22:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497587#M131922</guid>
      <dc:creator>clqa</dc:creator>
      <dc:date>2018-09-20T22:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: informat vs format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497619#M131946</link>
      <description>&lt;P&gt;It is simple to check the two functions in the online help under functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INPUT reads (converts text to another value using the rules in the informat)&lt;/P&gt;
&lt;P&gt;PUT writes (displays text based on the rules in the format)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Input may create either&amp;nbsp;numeric&amp;nbsp; or text values from text or text stored in a variable.&lt;/P&gt;
&lt;P&gt;Put always generates text output.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 23:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497619#M131946</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-20T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: informat vs format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497645#M131970</link>
      <description>&lt;P&gt;I think it a bit more accurate to say PUT writes sas values to non-sas representations.&amp;nbsp; And input does the opposite.&amp;nbsp; It's not always true that INPUT reads "text" and PUT writes "text".&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input x ib4.;

put x rb8. ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 02:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/informat-vs-format/m-p/497645#M131970</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-09-21T02:28:43Z</dc:date>
    </item>
  </channel>
</rss>

