<?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: Default order in different procedures in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774466#M246153</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks,&lt;BR /&gt;You say that tabulate acts like FREQ and MEANS.&lt;BR /&gt;So, why there is order=Data in proc tabulate and there is no in proc freq/proc means/proc summary?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ORDER=DATA is an option in PROC FREQ and PROC MEANS/SUMMARY.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 11:11:39 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-10-15T11:11:39Z</dc:date>
    <item>
      <title>Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774443#M246140</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I would like to understand more clearly what is the difference between the following procedures regarding the default order .&lt;/P&gt;
&lt;P&gt;I am talking in a case when I am using user defined format&amp;nbsp; to group by values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc SQL-As I understand the default is order by Formatted values .Is it true? In order to order by unformatted values&amp;nbsp;&lt;SPAN&gt;FreelanceReinha&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;rd showed a trick (order by age net 'T',age)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ-As I understand the default is order by unformatted values and then no need order statement in this example .Is it true?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc Tabulate-As I understand the default is order by unformatted values and then no need order statement in this example .Is it true?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SUMMARY/MEANS- What is the default sort? Why is it needed to add&amp;nbsp; ORDER=DATA ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc REPORT- What is the default sort? Why is it needed to add&amp;nbsp; ORDER=DATA ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;
input ID age;
cards;
1 15
2 17
3 18
4 21
5 22
6 19
7 19
8 31
9 39
10 48
11 54
12 17
13 18
;
Run;


proc format;
value agefmt
low-18='TILL 18'
18-19='18-19'
19-21='19-21'
21-high='21+'
;
Run;

/***Way1-Proc FREQ***/
/**No need order statement* in this example*/
proc freq data=have;
format age agefmt.;
tables age / nocum MISSING out=want;
run;

/**Way2-proc sql with using trick in order statement**/
PROC SQL;
	select put(age,agefmt.) as age ,
          count(*) as nr  ,
          calculated nr/(select count(*) as  total_nr from  have)*100 as pctN 
	from  have
	group by  calculated age 
;
QUIT;

/**Way3-Proc summary/means**/
/**Using order=data***/
proc means data=have n percent;
format age agefmt.;
class age / order=data;
run;


/**Way4-Proc REPORT**/
/**Using order=data***/
proc report data=have;
column age id n percent;
define age / group format=agefmt. order=data;
define id / noprint;
define percent / computed format=percent7.2;
compute before;
all = n;
endcomp;
compute percent;
percent = n / all;
endcomp;
run;


/*WAY5-Proc tabulate***/
/**No need order statement* in this example*/
proc tabulate data=have;
format age agefmt.;
class age;
tables age,(n pctn);
run;


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 09:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774443#M246140</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-10-15T09:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774445#M246141</link>
      <description>&lt;P&gt;The default sort order is documented per Proc. The default is normally "internal" meaning the values without formats when it's data and sorted by the printed values (formatted) when it's a report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With SQL don't assume that there is any sort order unless you define explicitly an Order By clause. Sorting will be by internal unformatted value. If you want it by formatted value then assign the format in the Order By clause (see below).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
  value ifmt
    1,7=1
    other=0
    ;
run;

data have;
  do i=1,5,3,7,6;
    k=i;
    output;
  end;
  format k ifmt.;
run;

proc sql;
  select *
  from have h
  order by k
  ;
  select *
  from have h
  order by put(k,ifmt.)
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1634290503739.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64753i6675229BC982F7B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1634290503739.png" alt="Patrick_0-1634290503739.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 09:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774445#M246141</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-10-15T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774447#M246143</link>
      <description>Why in proc summary and proc report need to use order=data whereas in proc tabulate and proc summary no need?(related to the example I showed)</description>
      <pubDate>Fri, 15 Oct 2021 09:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774447#M246143</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-10-15T09:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774450#M246146</link>
      <description>&lt;P&gt;Your SQL does not use "formatted values". You create a string and use that in the GROUP BY, so SQL will sort the output according to the collating order. The string variable will have a simple $ format assigned to it (if any), so no real formatting takes place.&lt;/P&gt;
&lt;P&gt;SQL orders on raw values. If you (e.g.) have a date variable with a DDMMYY format, it will still be sorted chronologically in the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MEANS and FREQ will order by raw value, but group by formatted values. See&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=have n;
format age agefmt.;
class age;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;REPORT will order by formatted values, so you need to use ORDER=DATA there.&lt;/P&gt;
&lt;P&gt;TABULATE acts like FREQ and MEANS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you have such questions, follow Maxim 4. There is no more satisfying knowledge gain than the one you acquire yourself.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 10:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774450#M246146</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-15T10:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774453#M246147</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;Because not everything is 100% aligned between the Proc's. There was at one time some effort spent by SAS to "streamline" the keywords between Proc's but changing default sort order would certainly have been an issue - so you just have to learn what's the default by Proc or even better always define it explicitly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 10:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774453#M246147</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-10-15T10:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774454#M246148</link>
      <description>&lt;P&gt;You can trick SQL to create the desired order by using a two-step formatting approach:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
value agegrp
  low-18 = "1"
  18-19 = "2"
  19-21 = "3"
  21-high = "4"
;
value $agefmt 
  "1" = 'TILL 18'
  "2" = '18-19'
  "3" = '19-21'
  "4" = '21+'
;
run;

proc sql;
select
  put(age,agegrp.) as age format=$agefmt.,
  count(*) as nr  ,
  calculated nr/(select count(*) as  total_nr from  have)*100 as pctN 
  from  have
  group by  calculated age 
;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Oct 2021 10:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774454#M246148</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-15T10:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774460#M246149</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;PROC SUMMARY/MEANS- What is the default sort? Why is it needed to add&amp;nbsp; ORDER=DATA ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc REPORT- What is the default sort? Why is it needed to add&amp;nbsp; ORDER=DATA ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In PROC MEANS/SUMMARY and PROC REPORT and PROC FREQ, you want ORDER=INTERNAL, not ORDER=DATA.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably want ORDER=INTERNAL which uses the unformatted value to determine how the categories will sort. You probably don't want ORDER=DATA uses the order that the results appear in the data, so for example if we are talking about months and month 9 is formatted as SEP2021 and this appears in the first row of the data set, then SEP2021 will be the first in the sort order because it appears first in the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the default? This is clearly stated in the documentation for each PROC where the ORDER= option is described.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 10:54:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774460#M246149</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-10-15T10:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774463#M246151</link>
      <description>Thanks,&lt;BR /&gt;You say that tabulate acts like FREQ and MEANS.&lt;BR /&gt;So, why there is order=Data in proc tabulate and there is no in proc freq/proc means/proc summary?</description>
      <pubDate>Fri, 15 Oct 2021 11:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774463#M246151</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-10-15T11:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774465#M246152</link>
      <description>&lt;P&gt;Very nice and usefull solution for people who prefer to work with proc sql&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 11:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774465#M246152</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-10-15T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774466#M246153</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks,&lt;BR /&gt;You say that tabulate acts like FREQ and MEANS.&lt;BR /&gt;So, why there is order=Data in proc tabulate and there is no in proc freq/proc means/proc summary?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ORDER=DATA is an option in PROC FREQ and PROC MEANS/SUMMARY.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 11:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774466#M246153</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-10-15T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774467#M246154</link>
      <description>Great! So it was mistake to write order=data unless there is proc sort before...</description>
      <pubDate>Fri, 15 Oct 2021 11:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774467#M246154</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-10-15T11:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774479#M246160</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Great! So it was mistake to write order=data unless there is proc sort before...&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Proc Sort by the category variable would be required, not Proc Sort by any other variable. But sorting is unnecessary if the next step is PROC FREQ/PROC MEANS/PROC REPORT/PROC SUMMARY, don't waste your time. (Sorting may be necessary for other reasons in your program)&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 12:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774479#M246160</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-10-15T12:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Default order in different procedures</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774539#M246193</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks,&lt;BR /&gt;You say that tabulate acts like FREQ and MEANS.&lt;BR /&gt;So, why there is order=Data in proc tabulate and there is no in proc freq/proc means/proc summary?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From &lt;STRONG&gt;documentation &lt;/STRONG&gt;for Proc Freq:&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="procstat.freq.freqproc" class="aa-section"&gt;
&lt;DIV id="procstat.freq.freqoptions"&gt;
&lt;P class="aa-outputtitle"&gt;Table 3.4: PROC FREQ Statement Options&lt;/P&gt;
&lt;DIV class="-contents"&gt;
&lt;TABLE class="aa-tabular"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH style="text-align: left; border-top-color: black; border-top-width: 1px; border-top-style: solid;"&gt;
&lt;P&gt;Option&lt;/P&gt;
&lt;/TH&gt;
&lt;TH style="text-align: left; border-top-color: black; border-top-width: 1px; border-top-style: solid;"&gt;
&lt;P&gt;Description&lt;/P&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left; border-top-color: black; border-top-width: 1px; border-top-style: solid;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqcompress" target="_blank"&gt;COMPRESS&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left; border-top-color: black; border-top-width: 1px; border-top-style: solid;"&gt;
&lt;P&gt;Begins the next one-way table on the current page&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqdata" target="_blank"&gt;DATA=&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Names the input data set&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqformchar" target="_blank"&gt;FORMCHAR=&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Specifies the outline and cell divider characters for crosstabulation tables&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqnlevels" target="_blank"&gt;NLEVELS&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Displays the number of levels for all TABLES variables&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqnoprint" target="_blank"&gt;NOPRINT&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Suppresses all displayed output&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqorder" target="_blank"&gt;ORDER=&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Specifies the order for reporting variable values&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid;"&gt;
&lt;P&gt;&lt;A href="http://127.0.0.1:58219/help/procstat.hlp/procstat_freq_syntax01.htm#procstat.freq.freqpage" target="_blank"&gt;PAGE&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid;"&gt;
&lt;P&gt;Displays one table per page&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the &lt;STRONG&gt;documentation&lt;/STRONG&gt; for the Proc Means statement output control options:&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV class="xis-procStatement"&gt;
&lt;DIV class="xis-procStatementSyntax"&gt;
&lt;DIV class="xis-generatedOptionCategoryList"&gt;
&lt;H4 class="xis-optionCategory"&gt;Control the output&lt;/H4&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#n1fyn8gnpfno34n1mnq6u8blhg79" target="_blank"&gt;FW=&lt;SPAN class="xis-userSuppliedValue"&gt;field-width&lt;/SPAN&gt;&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;specifies the field width for the statistics.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#n1m8zxfes82ykcn1ij2cy50zo7c8" target="_blank"&gt;MAXDEC=&lt;SPAN class="xis-userSuppliedValue"&gt;number&lt;/SPAN&gt;&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;specifies the number of decimal places for the statistics.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#n1snnp2pa49hdmn18lyyvb2d8agi" target="_blank"&gt;NONOBS&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;suppresses reporting the total number of observations for each unique combination of the class variables.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#n1h4u2gqxgnpvpn12iyihb4q7tuo" target="_blank"&gt;NOPRINT&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;suppresses all displayed output.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#p19vuldjddab5in1c08tplk61b1f" target="_blank"&gt;&lt;STRONG&gt;ORDER=DATA | FORMATTED | FREQ | UNFORMATTED&lt;/STRONG&gt;&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;orders the values of the class variables according to the specified order.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#p07ne67wjg1ud7n147cddfzb2jji" target="_blank"&gt;PRINT | NOPRINT&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;displays the output.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#p187iacq9hwke8n14o5r3tvqbo9l" target="_blank"&gt;PRINTALLTYPES&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;displays the analysis for all requested combinations of class variables.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#n1nkj2utfryvfon1qjlc113i3j6k" target="_blank"&gt;PRINTIDVARS&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;displays the values of the ID variables.&lt;/P&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:58219/help/proc.hlp/n1qnc9bddfvhzqn105kqitnf29cp.htm#p1jlrxmcdwyj5nn1ug9fmdzp9c2l" target="_blank"&gt;STACKODSOUTPUT&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;produces an ODS output object&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-order-in-different-procedures/m-p/774539#M246193</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-15T15:28:02Z</dc:date>
    </item>
  </channel>
</rss>

