<?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: problem with proc formats in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388746#M93237</link>
    <description>&lt;P&gt;To create a format for a character variable, the format name must begin with $:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;value $fmt 'No'='0' &amp;nbsp;'Yes'='1';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could create an informat&amp;nbsp;using INVALUE instead of VALUE.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 11:43:04 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-08-17T11:43:04Z</dc:date>
    <item>
      <title>problem with proc formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388735#M93230</link>
      <description>&lt;P&gt;I am having a dataset with values yes/no. I want to use proc format to replace yes with 1 and no with 0. &amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset is attached for reference.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388735#M93230</guid>
      <dc:creator>atulsingh</dc:creator>
      <dc:date>2017-08-17T10:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388736#M93231</link>
      <description>&lt;P&gt;So what is your problem?&lt;/P&gt;
&lt;P&gt;What have you tried?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388736#M93231</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-17T10:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388738#M93232</link>
      <description>&lt;P&gt;proc format;&lt;BR /&gt;value fmt 'No'= 0 'Yes'= 1;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I am getting the error :&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;proc format;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;63 value fmt 'No'= 0 'Yes'= 1;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;_&lt;/DIV&gt;&lt;DIV class="sasError"&gt;22&lt;/DIV&gt;&lt;DIV class="sasError"&gt;76&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: The quoted string 'No' is not acceptable to a numeric format or informat.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 22-322: Syntax error, expecting one of the following: a quoted string, a format name.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:49:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388738#M93232</guid>
      <dc:creator>atulsingh</dc:creator>
      <dc:date>2017-08-17T10:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388741#M93233</link>
      <description>&lt;P&gt;Please reply. I am stuck&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:08:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388741#M93233</guid>
      <dc:creator>atulsingh</dc:creator>
      <dc:date>2017-08-17T11:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388746#M93237</link>
      <description>&lt;P&gt;To create a format for a character variable, the format name must begin with $:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;value $fmt 'No'='0' &amp;nbsp;'Yes'='1';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could create an informat&amp;nbsp;using INVALUE instead of VALUE.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-proc-formats/m-p/388746#M93237</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-08-17T11:43:04Z</dc:date>
    </item>
  </channel>
</rss>

