<?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: Value statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799247#M314252</link>
    <description>&lt;P&gt;Read up about what formats are.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2032-2018.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2032-2018.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 04:39:38 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-03-01T04:39:38Z</dc:date>
    <item>
      <title>Value statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799237#M314245</link>
      <description>Ho what does the following do:&lt;BR /&gt;&lt;BR /&gt;Value $exfmt ’ZHKGILD’ =’8#1’&lt;BR /&gt;’ZHKGILPM1’ = ’6G8’</description>
      <pubDate>Tue, 01 Mar 2022 03:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799237#M314245</guid>
      <dc:creator>christinawkhau</dc:creator>
      <dc:date>2022-03-01T03:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799240#M314247</link>
      <description>&lt;P&gt;Looks like part of a PROC FORMAT step for defining a character format named $EXFMT.&amp;nbsp; You are missing the PROC FORMAT statement before the VALUE statement.&amp;nbsp; You are using "stupid" quotes instead of normal quotes around the strings, that needs to be fixed.&amp;nbsp; And you are missing the semi-colon to end the VALUE statement. Also you should end the PROC FORMAT step with a RUN statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
  value $exfmt
    'ZHKGILD' = '8#1'
    'ZHKGILPM1' = '6G8'
  ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When you use this format to print a character variable strings that match the values on the left of the equal signs will be displayed using the values on the right.&amp;nbsp; Just when you print a number that has value ten in it using the 2. format is print the digit string 10.&amp;nbsp; Or when you have date value of the first day of january 2022 and print it using the DATE9. format you get the string 01JAN2022 instead of the actual number of days since 1960 that are stored in the variable.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 03:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799240#M314247</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-01T03:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Value statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799242#M314249</link>
      <description>Thanks&lt;BR /&gt;Yes and my question is what exactly $exfmt if the program runs?&lt;BR /&gt;&lt;BR /&gt;I am readinf others program so never see this term before&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2022 03:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799242#M314249</guid>
      <dc:creator>christinawkhau</dc:creator>
      <dc:date>2022-03-01T03:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Value statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799247#M314252</link>
      <description>&lt;P&gt;Read up about what formats are.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2032-2018.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2032-2018.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 04:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Value-statement/m-p/799247#M314252</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-01T04:39:38Z</dc:date>
    </item>
  </channel>
</rss>

