<?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: Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214820#M52894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jwillis, thanks for your help, it works. And I have transpose the data to replicate a data table that I am learning from.&lt;/P&gt;&lt;P&gt;1) How do I get sub headings? eg, as in the screenshot, I need "delay" to indicate it is the heading for blank check-written consent etc...&lt;/P&gt;&lt;P&gt;2) How to add in another row "number of firms" at the bottom of the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9892_pastedImage_1.png" style="width: 487px; height: 277px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9891_pastedImage_0.png" style="width: 451px; height: 526px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 23:42:07 GMT</pubDate>
    <dc:creator>danielhu</dc:creator>
    <dc:date>2015-04-02T23:42:07Z</dc:date>
    <item>
      <title>Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214817#M52891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am a student and learning how to use SAS by replicating the result from a published paper. I faced a long list of "ERROR: Asterisks are an indication of a format width problem". As you can see from the screenshot, there are some that are calculated corrected, but most of the variables are indicated with asterisks. What I am trying to do is to do a sum up for each variable (28 in total) &lt;SPAN style="text-decoration: underline;"&gt;by year&lt;/SPAN&gt;. I am not sure whether it is due to some of the variables have format as numeric 1. while some are in numeric best12. But this is not the case when I check those that managed to sum up, they are a mixture of both numeric formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9861_pastedImage_6.png" style="width: 599px; height: 296px;" /&gt;&lt;/P&gt;&lt;P&gt;The following is my codes with the variables in red. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=sas.governancedropt1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=sas.governancedropt1 noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var &lt;SPAN style="color: #ff0000;"&gt;BLANKCHECK CBOARD LSPMT LWCNST COMPPLAN DIRIND DIRLIAB GOLDENPARACHUTE SEVERANCE CUMVOTE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUMVOTESS LABYLW LACHTR SECRETBALLOT SUPERMAJOR UNEQVOTE ANTIGREEN DUTIESNF FAIRPRICE PPARACHUTE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPILL SPARACHUTE SL_BUSCOMP SL_CASHOUT SL_CSA SL_DUTIES SL_FAIRPRICE SL_RPROFITS&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=governancedropt1_byyear (drop=_type_ _freq_)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(&lt;SPAN style="color: #ff0000;"&gt;BLANKCHECK CBOARD LSPMT LWCNST COMPPLAN DIRIND DIRLIAB GOLDENPARACHUTE SEVERANCE CUMVOTE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUMVOTESS LABYLW LACHTR SECRETBALLOT SUPERMAJOR UNEQVOTE ANTIGREEN DUTIESNF FAIRPRICE PPARACHUTE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPILL SPARACHUTE SL_BUSCOMP SL_CASHOUT SL_CSA SL_DUTIES SL_FAIRPRICE SL_RPROFITS&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN style="color: #ff0000;"&gt;BLANKCHECK1 CBOARD1 LSPMT1 LWCNST1 COMPPLAN1 DIRIND1 DIRLIAB1 GOLDENPARACHUTE1 SEVERANCE1 CUMVOTE1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUMVOTESS1 LABYLW1 LACHTR1 SECRETBALLOT1 SUPERMAJOR1 UNEQVOTE1 ANTIGREEN1 DUTIESNF1 FAIRPRICE1 PPARACHUTE1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPILL1 SPARACHUTE1 SL_BUSCOMP1 SL_CASHOUT1 SL_CSA1 SL_DUTIES1 SL_FAIRPRICE1 SL_RPROFITS1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214817#M52891</guid>
      <dc:creator>danielhu</dc:creator>
      <dc:date>2015-04-02T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214818#M52892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Often if a variable has a permanent format assigned then procedures will attempt to use that format by default, such as means or VIEWTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Proc print data=governancedropt1_byyear;&lt;/P&gt;&lt;P&gt;format _numeric_ best8. ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;and see if that will get closer to what you are looking for.&lt;/P&gt;&lt;P&gt;or turn of the noprint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also change the view within viewtable by clicking on the column heading and editing the format but if you have enough variables that's a tad tedious. You can also use proc datasets to change the format(s) of variables in place either on the input data set or the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 16:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214818#M52892</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-02T16:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214819#M52893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this will work:&lt;/P&gt;&lt;P&gt;proc means.......&lt;/P&gt;&lt;P&gt;format &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;BLANKCHECK1 CBOARD1 LSPMT1 LWCNST1 COMPPLAN1 DIRIND1 DIRLIAB1 GOLDENPARACHUTE1 SEVERANCE1 CUMVOTE1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUMVOTESS1 LABYLW1 LACHTR1 SECRETBALLOT1 SUPERMAJOR1 UNEQVOTE1 ANTIGREEN1 DUTIESNF1 FAIRPRICE1 PPARACHUTE1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPILL1 SPARACHUTE1 SL_BUSCOMP1 SL_CASHOUT1 SL_CSA1 SL_DUTIES1 SL_FAIRPRICE1 SL_RPROFITS1&amp;nbsp; 8.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS assumes the format of a variable if it is not explicitly defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214819#M52893</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2015-04-02T17:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214820#M52894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jwillis, thanks for your help, it works. And I have transpose the data to replicate a data table that I am learning from.&lt;/P&gt;&lt;P&gt;1) How do I get sub headings? eg, as in the screenshot, I need "delay" to indicate it is the heading for blank check-written consent etc...&lt;/P&gt;&lt;P&gt;2) How to add in another row "number of firms" at the bottom of the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9892_pastedImage_1.png" style="width: 487px; height: 277px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9891_pastedImage_0.png" style="width: 451px; height: 526px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 23:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/214820#M52894</guid>
      <dc:creator>danielhu</dc:creator>
      <dc:date>2015-04-02T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help for a new SAS user- ERROR: Asterisks are an indication of a format width problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/232878#M54763</link>
      <description>&lt;P&gt;I have the same problem with indicator variables that I build, where I spesify the format as "1." and then the proc means gives me issues.&lt;/P&gt;
&lt;P&gt;What you can do, though I do not know of any consequences of this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data= a;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;format _all_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;informat _all_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;class xxx;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;var yyy;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;output out=b sum=yyy;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 12:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-for-a-new-SAS-user-ERROR-Asterisks-are-an-indication-of-a/m-p/232878#M54763</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2015-11-03T12:59:09Z</dc:date>
    </item>
  </channel>
</rss>

