<?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: Which SAS option to display comma separated values in SAS log for row counts in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867138#M342456</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; That option works with OPTIONS statement and GETOPTION() function. It does not work with the OPTIONS procedure however.&amp;nbsp; Even though the OPTIONS procedure has its own LOGNUMBERFORMAT optional keyword that you can add to the PROC OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note that numeric option values printed by the PROC OPTIONS procedure will that are modified by this LOGNUMBERFORMAT option will not work with the OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=max lognumberformat;
proc options option=obs; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will get something like:&lt;/P&gt;
&lt;PRE&gt;  OBS=9,223,372,036,854,775,807&lt;/PRE&gt;
&lt;P&gt;printed to the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you then try to run&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options   OBS=9,223,372,036,854,775,807 ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The commas will generate errors.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 21:40:44 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-03-29T21:40:44Z</dc:date>
    <item>
      <title>Which SAS option to display comma separated values in SAS log for row counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/866912#M342384</link>
      <description>&lt;P&gt;Hi all, A few years ago I recall seeing a new option which inserts commas in SAS log observation counts.&amp;nbsp; eg Instead of :&lt;BR /&gt;NOTE: The data set WORK.A has 345236011 observations and 3 variables.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We would see:&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.A has 345,236,011 observations and 3 variables.&lt;BR /&gt;&lt;BR /&gt;I've tried searching for this in the SAS Docs but cant find the name of this sas option. Can anyone enlighten me?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;thanks rob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 04:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/866912#M342384</guid>
      <dc:creator>robAs</dc:creator>
      <dc:date>2023-03-29T04:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Which SAS option to display comma separated values in SAS log for row counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867072#M342429</link>
      <description>&lt;P&gt;The option is LOGNUMBERFORMAT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;86   options lognumberformat;
87   data test;
88   do i=1 to 1000;
89   output;
90   end;
91   run;

NOTE: The data set WORK.TEST has 1,000 observations and 1 variables.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Mar 2023 17:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867072#M342429</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-03-29T17:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Which SAS option to display comma separated values in SAS log for row counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867138#M342456</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; That option works with OPTIONS statement and GETOPTION() function. It does not work with the OPTIONS procedure however.&amp;nbsp; Even though the OPTIONS procedure has its own LOGNUMBERFORMAT optional keyword that you can add to the PROC OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note that numeric option values printed by the PROC OPTIONS procedure will that are modified by this LOGNUMBERFORMAT option will not work with the OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=max lognumberformat;
proc options option=obs; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will get something like:&lt;/P&gt;
&lt;PRE&gt;  OBS=9,223,372,036,854,775,807&lt;/PRE&gt;
&lt;P&gt;printed to the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you then try to run&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options   OBS=9,223,372,036,854,775,807 ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The commas will generate errors.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867138#M342456</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-03-29T21:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Which SAS option to display comma separated values in SAS log for row counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867226#M342494</link>
      <description>&lt;P&gt;LOGNUMBERFORMAT is still considered internal and is not documented with PROC OPTIONS because it is limited in scope. It is only intended to affect the formatting of a limited number of numeric values in the log. It does not translate to other system or data set options, such as OBS= or FIRSTOBS=.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 11:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-SAS-option-to-display-comma-separated-values-in-SAS-log/m-p/867226#M342494</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-03-30T11:16:10Z</dc:date>
    </item>
  </channel>
</rss>

