<?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 How do I dynamically code descriptive stat presentations? (deleted) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843519#M333480</link>
    <description>&lt;P&gt;deleted&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 14:44:49 GMT</pubDate>
    <dc:creator>Hello_there</dc:creator>
    <dc:date>2022-11-10T14:44:49Z</dc:date>
    <item>
      <title>How do I dynamically code descriptive stat presentations? (deleted)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843519#M333480</link>
      <description>&lt;P&gt;deleted&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 14:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843519#M333480</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-11-10T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I dynamically code descriptive stat presentations according to the max decimals in raw da</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843532#M333481</link>
      <description>&lt;P&gt;In order to use dynamic format, given at run time, use PUTN for numeric or PUTC for character instead of PUT function.&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  x=2.5;
run;

data _null_;
 set test;
     myfmt = 'z4.3';
     show = putn(x,myfmt);  /* using variable name not a format name */
     put show=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can create your own format in a variable by using concatenation and any expression you need.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 06:09:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843532#M333481</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2022-11-10T06:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I dynamically code descriptive stat presentations according to the max decimals in raw da</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843666#M333531</link>
      <description>&lt;P&gt;Thanks, this information was helpful. I had deleted the original post bc i thought it was probably confusing. But using the putn() helps me w/ what i was looking for. If i was able to, i would have accepted this as a solution. Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 19:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-dynamically-code-descriptive-stat-presentations-deleted/m-p/843666#M333531</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-11-10T19:22:12Z</dc:date>
    </item>
  </channel>
</rss>

