<?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: what does proc format with picture do? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787648#M251710</link>
    <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm" target="_self"&gt;Nothing&lt;/A&gt; in the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm#p0eubpiv9ngaocn1uatbigc5swi2" target="_self"&gt;documentation&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/202329"&gt;@GN0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have this code and I wonder what other %b-%y do?&lt;/P&gt;
&lt;P&gt;what about picture?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format;
picture fmt (default=6)
other=%b-%y (datatype = date);
run;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blueblue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Dec 2021 17:11:02 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-12-29T17:11:02Z</dc:date>
    <item>
      <title>what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787646#M251709</link>
      <description>&lt;P&gt;I have this code and I wonder what other %b-%y do?&lt;/P&gt;
&lt;P&gt;what about picture?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format;
picture fmt (default=6)
other=%b-%y (datatype = date);
run;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blueblue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 17:06:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787646#M251709</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2021-12-29T17:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787648#M251710</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm" target="_self"&gt;Nothing&lt;/A&gt; in the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm#p0eubpiv9ngaocn1uatbigc5swi2" target="_self"&gt;documentation&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/202329"&gt;@GN0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have this code and I wonder what other %b-%y do?&lt;/P&gt;
&lt;P&gt;what about picture?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format;
picture fmt (default=6)
other=%b-%y (datatype = date);
run;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blueblue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 17:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787648#M251710</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-29T17:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787659#M251714</link>
      <description>&lt;P&gt;Hello Reza,&lt;/P&gt;
&lt;P&gt;I couldn't find this documentation and it is not easy to understand what I am looking for. Many explanations and details about things that I don't need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation helped me to the extent that I can use the picture statement if I want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blueblue&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 17:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787659#M251714</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2021-12-29T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787666#M251715</link>
      <description>&lt;P&gt;The OTHER is a special range that means all values not assigned to other "pictures".&lt;/P&gt;
&lt;P&gt;The %b and %y have special meaning when the values be formatted are treated as date values (number of days since start of 1960).&lt;/P&gt;
&lt;P&gt;To find the documentation &lt;A href="https://www.google.com/search?q=%40sas.com+proc+format+picture" target="_self"&gt;look for the PROC FORMAT PICTURE statement&lt;/A&gt; and &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm" target="_self"&gt;that&lt;/A&gt; will lead you to the discussion on the what the special &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0n990vq8gxca6n1vnsracr6jp2c.htm#p0eubpiv9ngaocn1uatbigc5swi2" target="_self"&gt;directives&lt;/A&gt; in the "picture" mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS&amp;nbsp; You are missing quotes in your definition.&amp;nbsp; PROC FORMAT will except that to maintain backwards compatibility.&amp;nbsp; But since the directive used include the % character that is also use by the macro processor you should place the "picture" string in single quotes to prevent the macro processor from trying to call macros named B or Y.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
picture fmt (default=6)
  other='%b-%y' (datatype = date)
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Dec 2021 18:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787666#M251715</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-29T18:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787809#M251795</link>
      <description>&lt;P&gt;Personally I recommend using a 4-digit year, %Y, instead of 2-digit %y.&lt;/P&gt;
&lt;P&gt;Are you&amp;nbsp; 100 percent sure that &lt;STRONG&gt;every&lt;/STRONG&gt; person that sees a result of Jan-21 in your output will know that the 21 is supposed to be a Year?&lt;/P&gt;
&lt;P&gt;Are you sure that the same or associated documents that might be used along with the output in &lt;STRONG&gt;never &lt;/STRONG&gt;write Jan-21 to mean the 21st day of January?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you cannot answer Yes to both of those questions with certainty then remove any possible confusion and use 4 digits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Y2K anyone?)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 16:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/787809#M251795</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-30T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/789189#M252494</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What does this mea: all values not assigned to other "pictures"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;blue&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 05:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/789189#M252494</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2022-01-10T05:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: what does proc format with picture do?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/789200#M252503</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/202329"&gt;@GN0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What does this mea: all values not assigned to other "pictures"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;blue&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In the format definition, you use ranges and assign a picture to them. All values not fitting one of the ranges will be treated by the picture in the OTHER range.&lt;/P&gt;
&lt;P&gt;Using only one OTHER range means that this picture will be used for &lt;EM&gt;all&lt;/EM&gt; values.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-does-proc-format-with-picture-do/m-p/789200#M252503</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-10T08:33:24Z</dc:date>
    </item>
  </channel>
</rss>

