<?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 Help with Proc Format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42717#M11113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that was what im looking for. Thanks Art.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 04:48:40 GMT</pubDate>
    <dc:creator>Mgarret</dc:creator>
    <dc:date>2012-02-01T04:48:40Z</dc:date>
    <item>
      <title>Help with Proc Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42715#M11111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column that contains a question text response. When the preceding question is marked "other" you are asked to please explan what&amp;nbsp; "other" is. For all the questions where "other" was not marked a *99 in generated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="325" style="border: 1px solid #000000; width: 190px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Q15&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use proc format to assign a value lable of "Skipped" to *99. &lt;/P&gt;&lt;P&gt;I would like the column to look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="282" style="border: 1px solid #000000; width: 184px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Q15&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Skipped&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;*explanation sentence text text text text text of various lengths&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the proc format statement I wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc format;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value&amp;nbsp; $other&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'*99'='Skipped';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply the format, I don't get the result that I want. The explanations get cut off. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i get this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="259" style="border: 1px solid #000000; width: 177px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Q15&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*explan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*explan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Skipped&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*explan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;*explan&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway i can modify the proc format statement&amp;nbsp; so the explanations don't get cut off and I can still assign a value label to *99?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated. Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 02:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42715#M11111</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-02-01T02:57:43Z</dc:date>
    </item>
    <item>
      <title>Help with Proc Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42716#M11112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test it tonight, but do you get what you want if you include the default option when specifying the format in proc format (see: &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473473.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473473.htm&lt;/A&gt; ) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 04:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42716#M11112</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-01T04:08:54Z</dc:date>
    </item>
    <item>
      <title>Help with Proc Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42717#M11113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that was what im looking for. Thanks Art.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 04:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42717#M11113</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-02-01T04:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc Format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42718#M11114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a easy way to avoid this truncation..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value $test (default=50)&lt;/P&gt;&lt;P&gt;"*99"="*skipped";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(In &lt;STRONG&gt;default=&lt;/STRONG&gt; option you can specify length for the fomat)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 06:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-Format/m-p/42718#M11114</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2012-02-01T06:11:04Z</dc:date>
    </item>
  </channel>
</rss>

