<?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: Colpctn in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Colpctn/m-p/118387#M293234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample data with expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 00:12:27 GMT</pubDate>
    <dc:creator>Mit</dc:creator>
    <dc:date>2013-10-23T00:12:27Z</dc:date>
    <item>
      <title>Colpctn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Colpctn/m-p/118386#M293233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 14.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 14.0pt; font-family: 'Courier New';"&gt;tabulate&lt;/STRONG&gt; &lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=Drug;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;gender.&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; c2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;prefer.&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; gender age c2/&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;mlf&lt;/SPAN&gt; &lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;mlf&lt;/SPAN&gt; &lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;preloadfmt&lt;/SPAN&gt; &lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=data ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; all=&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'Base :All Respondents'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; c2*colpctn=&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;f=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 14.0pt; font-family: 'Courier New';"&gt;9.2&lt;/STRONG&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ,(all=&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'Total'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; gender age)*N=&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*f=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 14.0pt; font-family: 'Courier New';"&gt;7.0&lt;/STRONG&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 14.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;the above syntax is not working for colpctn .Can some one correct the syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;the objective is to print the % values of c2 variable with total and gender as columns on which % is calculated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 08:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Colpctn/m-p/118386#M293233</guid>
      <dc:creator>Pinky9</dc:creator>
      <dc:date>2013-10-21T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Colpctn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Colpctn/m-p/118387#M293234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample data with expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 00:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Colpctn/m-p/118387#M293234</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-23T00:12:27Z</dc:date>
    </item>
  </channel>
</rss>

