<?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: difference between using &amp;quot;MLF&amp;quot; and using &amp;quot;MLF preloadfmt&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644703#M192612</link>
    <description>Thank you for perfeft explanation. &lt;BR /&gt;Is Preloadfmt always go together with printmiss ?&lt;BR /&gt;</description>
    <pubDate>Sat, 02 May 2020 12:31:08 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2020-05-02T12:31:08Z</dc:date>
    <item>
      <title>difference between using "MLF" and using "MLF preloadfmt"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644678#M192602</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;What is the difference between using "MLF" and using "MLF preloadfmt" ?&lt;/P&gt;
&lt;P&gt;As I know MLF option is telling SAS that format of class variable is multi label.&lt;/P&gt;
&lt;P&gt;What is the purpose of&amp;nbsp;preloadfmt?&lt;/P&gt;
&lt;P&gt;IS always&amp;nbsp;preloadfmt going together with MLF?&lt;/P&gt;
&lt;P&gt;But as I see MLF can go alone without&amp;nbsp;preloadfmt&amp;nbsp;&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;</description>
      <pubDate>Sat, 02 May 2020 09:53:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644678#M192602</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-05-02T09:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: difference between using "MLF" and using "MLF preloadfmt"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644695#M192608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Multilabel formatting allows an observation to be included in multiple rows or categories -&amp;gt; with the MLF option (and if the procedure supports it like PROC MEANS for example), you&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;activate multilabel format processing when a multilabel format is assigned to a class variable. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Preloadfmt is quite different. The objective is to take into account all modalities of a variable. For example, if you run a PROC TABULATE on a dataset that contains data for female only, and that you apply this option as well as the PRINTMISS option, you will tell SAS to display all modalities (male, female) and not only observed modalities. Another example could be countries. If your dataset contains observations for 2 countries, but the format specifies values for all countries over the world, you will be able to build a report with all modalities, even if they have actually no observation in the dataset.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;E.g.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
	value sex (multilabel) 0="Male" 1="Female" 0,1 = "All";
run;

data have;
	input sex;
	format sex sex.;
	datalines;
0
0
0
;
run;

title "Without preloadfmt option";
proc tabulate data=have;
	class sex;
	table sex*n='';
run;

title "With preloadfmt option";
proc tabulate data=have;
	class sex / preloadfmt;
	table sex*n='' / printmiss;
run;


title "With preloadfmt and mlf option";
proc tabulate data=have;
	class sex / preloadfmt mlf;
	table sex*n='' / printmiss;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture d’écran 2020-05-02 à 13.55.13.png" style="width: 381px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38994i9A5EAEE21D85AC98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2020-05-02 à 13.55.13.png" alt="Capture d’écran 2020-05-02 à 13.55.13.png" /&gt;&lt;/span&gt;&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;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Does that make sense ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 11:55:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644695#M192608</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-02T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: difference between using "MLF" and using "MLF preloadfmt"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644703#M192612</link>
      <description>Thank you for perfeft explanation. &lt;BR /&gt;Is Preloadfmt always go together with printmiss ?&lt;BR /&gt;</description>
      <pubDate>Sat, 02 May 2020 12:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644703#M192612</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-05-02T12:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: difference between using "MLF" and using "MLF preloadfmt"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644705#M192614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, PRELOADFMT must be used with:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- PRINTMISS option in PROC TABULATE to include all the modalities of formats in the summary table,&amp;nbsp;&lt;/SPAN&gt;even if in case of a zero frequency&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- EXCLUSIVE option if you want to restrict the display of some modalities.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 12:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/difference-between-using-quot-MLF-quot-and-using-quot-MLF/m-p/644705#M192614</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-02T12:40:31Z</dc:date>
    </item>
  </channel>
</rss>

