<?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: The INFORMAT Clarification in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215987#M53131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Poster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the note:&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If you post a question and someone replies with information that you can use, it's a good idea to mark their reply as either helpful or correct. That way, others who have the same question can quickly see which replies might be most useful for them. A &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;helpful&lt;/EM&gt; reply is on the right track, while a &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;correct&lt;/EM&gt; reply answered your question. Keep in mind that you and others get more status points for posting replies that are marked as helpful or correct!&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;When you click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Correct Answer&lt;/STRONG&gt; for one of the replies, the original question becomes marked &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;answered&lt;/EM&gt; and you see a clip of the correct answer in your original question.&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;To mark responses to your question, go to the question in the community, look for responses, and click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Helpful Answer&lt;/STRONG&gt; or &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Correct Answer&lt;/STRONG&gt; for each response that fits.&amp;nbsp; If you want to undo a correct or helpful answer, simply click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Unmark as Helpful&lt;/STRONG&gt; or &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Unmark as Correct&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 10:11:46 GMT</pubDate>
    <dc:creator>KachiM</dc:creator>
    <dc:date>2015-05-19T10:11:46Z</dc:date>
    <item>
      <title>The INFORMAT Clarification</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215984#M53128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data dates;&lt;/P&gt;&lt;P&gt;infile datalines;&lt;/P&gt;&lt;P&gt;input State $ Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if State='AP' then do;&lt;/P&gt;&lt;P&gt;informat Date ddmmyy10.;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;else if State='MP' then do;&lt;/P&gt;&lt;P&gt;informat Date date9.;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;AP 12/12/2015&lt;/P&gt;&lt;P&gt;AP 13/01/2014&lt;/P&gt;&lt;P&gt;MP 12Dec2015&lt;/P&gt;&lt;P&gt;MP 13Dec2014&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;When I execute the above code snippet, its only accessing the latest loop &amp;amp; showing the o/p.I am unable to see the date formats as desired for both the conditions. May I know where the mistake lies?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 08:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215984#M53128</guid>
      <dc:creator>NikhilKashyap</dc:creator>
      <dc:date>2015-05-17T08:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: The INFORMAT Clarification</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215985#M53129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;SPAN style="font-size: 13.3333330154419px;"&gt;anydtdte informat for both condistions.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dates;&lt;/P&gt;&lt;P&gt;infile datalines;&lt;/P&gt;&lt;P&gt;input State $ Date :anydtdte.;&lt;/P&gt;&lt;P&gt;format date date9.;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;AP 12/12/2015&lt;/P&gt;&lt;P&gt;AP 13/01/2014&lt;/P&gt;&lt;P&gt;MP 12Dec2015&lt;/P&gt;&lt;P&gt;MP 13Dec2014&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 14:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215985#M53129</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2015-05-17T14:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: The INFORMAT Clarification</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215986#M53130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INFORMAT is a COMPILE TIME Statement. Hence, originally it was ddmmyy10 but later it is changed to DATE9. . At the EXECUTION TIME, the real INFORMAT is the one that came last namely, DATE9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the CONTENTS of the dates data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc contents data = dates;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and see the inforamat with date9.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 15:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215986#M53130</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2015-05-17T15:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: The INFORMAT Clarification</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215987#M53131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Poster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the note:&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If you post a question and someone replies with information that you can use, it's a good idea to mark their reply as either helpful or correct. That way, others who have the same question can quickly see which replies might be most useful for them. A &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;helpful&lt;/EM&gt; reply is on the right track, while a &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;correct&lt;/EM&gt; reply answered your question. Keep in mind that you and others get more status points for posting replies that are marked as helpful or correct!&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;When you click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Correct Answer&lt;/STRONG&gt; for one of the replies, the original question becomes marked &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;answered&lt;/EM&gt; and you see a clip of the correct answer in your original question.&lt;/P&gt;&lt;P style="margin: 0 0 15px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;To mark responses to your question, go to the question in the community, look for responses, and click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Helpful Answer&lt;/STRONG&gt; or &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Correct Answer&lt;/STRONG&gt; for each response that fits.&amp;nbsp; If you want to undo a correct or helpful answer, simply click &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Unmark as Helpful&lt;/STRONG&gt; or &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Unmark as Correct&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 10:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-INFORMAT-Clarification/m-p/215987#M53131</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2015-05-19T10:11:46Z</dc:date>
    </item>
  </channel>
</rss>

