<?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: converting dataset to format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731922#M80382</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data fmt_cntlin;
set have (
  keep=&amp;lt;source&amp;gt; &amp;lt;target&amp;gt;
  rename=(&amp;lt;source&amp;gt;=start &amp;lt;target&amp;gt;=label)
) end=done;
fmtname = "myfmt";
type = "C"; /* N for numeric */
output;
if done
then do;
  hlo = "O";
  /* add code for "other" values */
  output;
end;
run;

proc format cntlin=fmt_cntlin;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 07 Apr 2021 14:16:59 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-07T14:16:59Z</dc:date>
    <item>
      <title>converting dataset to format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731915#M80380</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Not a newbie, just can't find my code that converts a sas dataset into a format via Proc Format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone have the straightforward code readily available?&lt;/P&gt;
&lt;P&gt;Thanks so much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731915#M80380</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2021-04-07T14:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: converting dataset to format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731917#M80381</link>
      <description>&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n1e19y6lrektafn1kj6nbvhus59w.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n1e19y6lrektafn1kj6nbvhus59w.htm&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You need to create your start, end, label, fmtname and type variables correctly as per the documentation and then use PROC FORMAT with CNTLIN.&lt;BR /&gt;The example in the documentation seems well explained, is there some portion that needs more detail?</description>
      <pubDate>Wed, 07 Apr 2021 14:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731917#M80381</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-07T14:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: converting dataset to format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731922#M80382</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data fmt_cntlin;
set have (
  keep=&amp;lt;source&amp;gt; &amp;lt;target&amp;gt;
  rename=(&amp;lt;source&amp;gt;=start &amp;lt;target&amp;gt;=label)
) end=done;
fmtname = "myfmt";
type = "C"; /* N for numeric */
output;
if done
then do;
  hlo = "O";
  /* add code for "other" values */
  output;
end;
run;

proc format cntlin=fmt_cntlin;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/731922#M80382</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-07T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: converting dataset to format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/909558#M83199</link>
      <description>&lt;P&gt;Thanks a lot! It was very useful. Thanks once again!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanking you,&lt;/P&gt;
&lt;P&gt;Yours sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Sat, 23 Dec 2023 09:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/converting-dataset-to-format/m-p/909558#M83199</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2023-12-23T09:18:12Z</dc:date>
    </item>
  </channel>
</rss>

