<?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: CNTLIN FORMAT in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95648#M27064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The put bits need a period at the end of the format, ie FORMAT1. and FORMAT2. as a minimum. Don't forget the ; at the end of the statement.&lt;/P&gt;&lt;P&gt;Also the case of the formatted value will need to match exactly.&lt;/P&gt;&lt;P&gt;If format1 was defined to create 'Yes' then that is the value you need to use for comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CNTLIN data set is normally used by PROC Format. Were you trying to modify it before sending to Proc Format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 15:14:16 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-07-31T15:14:16Z</dc:date>
    <item>
      <title>CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95647#M27063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;I was trying to use a cntlin format and need some help with correct usage of the where statement in this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;where put(ID,format1)="yes" and put(Number,format2)="yes"&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95647#M27063</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-07-31T15:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95648#M27064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The put bits need a period at the end of the format, ie FORMAT1. and FORMAT2. as a minimum. Don't forget the ; at the end of the statement.&lt;/P&gt;&lt;P&gt;Also the case of the formatted value will need to match exactly.&lt;/P&gt;&lt;P&gt;If format1 was defined to create 'Yes' then that is the value you need to use for comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CNTLIN data set is normally used by PROC Format. Were you trying to modify it before sending to Proc Format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95648#M27064</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-07-31T15:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95649#M27065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also note ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ID is a character variable then the first PUT function must use a character format (format name beginning with $).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95649#M27065</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-07-31T15:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95650#M27066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry for that syntax errors..&lt;/P&gt;&lt;P&gt;If both the conditions are met then only I want to pull those records from HAVE dataset.&lt;/P&gt;&lt;P&gt;CNTLIN formats were written for the ID and Number variables already&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;where put(ID,format1.)="yes" and put(Number,format2.)="yes";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:22:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95650#M27066</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-07-31T15:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95651#M27067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks better, except in one regard.&amp;nbsp; It's hard to believe that CNTLIN accepted format names of "format1" and "format2".&amp;nbsp; You are not allowed to create format names that end with a number.&amp;nbsp; If you used different names, show the actual code.&amp;nbsp; If you actually used "format1" and "format2" you should change them in the CNTLIN data set or else you will get zero observations selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95651#M27067</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-07-31T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95652#M27068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I corrected it. Is this below code fine to use?????and bringing records which&amp;nbsp; satisfies both the conditions?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where put(ID,serial.)="yes" and put(Number,numb.)="yes";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 16:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95652#M27068</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-07-31T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: CNTLIN FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95653#M27069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks perfect, as long as ID and NUMBER are both numeric variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 16:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CNTLIN-FORMAT/m-p/95653#M27069</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-07-31T16:05:12Z</dc:date>
    </item>
  </channel>
</rss>

