<?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: Proc Report in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828620#M35438</link>
    <description>&lt;P&gt;This is better but I am still not there&lt;/P&gt;</description>
    <pubDate>Sun, 14 Aug 2022 18:54:53 GMT</pubDate>
    <dc:creator>yaakov555</dc:creator>
    <dc:date>2022-08-14T18:54:53Z</dc:date>
    <item>
      <title>Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828006#M35376</link>
      <description>&lt;P&gt;How do I make a non tabular report using Proc Report?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 00:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828006#M35376</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-10T00:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828010#M35377</link>
      <description>&lt;P&gt;Define what a "non-tabular report" would be.&lt;/P&gt;
&lt;P&gt;Perhaps include a small example data or use of the SAS supplied data set such as Sashelp.class and show what the result is supposed to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 01:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828010#M35377</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-08-10T01:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828016#M35378</link>
      <description>You mean without the grid lines? There are various styles you can use. Please check out this gallery:&lt;BR /&gt;&lt;A href="https://sassavvy.com/proc_report_gallery.html/" target="_blank"&gt;https://sassavvy.com/proc_report_gallery.html/&lt;/A&gt;</description>
      <pubDate>Wed, 10 Aug 2022 02:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828016#M35378</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-08-10T02:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828108#M35384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my code&lt;/P&gt;&lt;P&gt;libname dat1 '~/Clinical';&lt;/P&gt;&lt;P&gt;%macro report(var);&lt;BR /&gt;Proc freq data=dat1.adsl noprint ;&lt;BR /&gt;tables &amp;amp;var*arm/ out=fsl;&lt;BR /&gt;Proc freq data=dat1.adsl noprint ;&lt;BR /&gt;tables &amp;amp;var/out=fsl2;&lt;BR /&gt;run;&lt;BR /&gt;data dsl;&lt;BR /&gt;set fsl fsl2(in=inb);&lt;BR /&gt;where percent ne .;&lt;BR /&gt;pct=cats('(',put(percent/100, percent7.2),')');&lt;BR /&gt;comb=catx(' ', count, pct);&lt;BR /&gt;if inb then&lt;BR /&gt;arm='Total';&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=dsl out=dsl;&lt;BR /&gt;by &amp;amp;var;&lt;BR /&gt;run;&lt;BR /&gt;options validvarname=v7;&lt;BR /&gt;proc transpose data=dsl out=&amp;amp;var;&lt;BR /&gt;by &amp;amp;var;&lt;BR /&gt;var comb;&lt;BR /&gt;id arm;&lt;BR /&gt;run;&lt;BR /&gt;%mend report;&lt;/P&gt;&lt;P&gt;%report(sex)&lt;BR /&gt;%report(ethnic)&lt;BR /&gt;%report(race)&lt;BR /&gt;%report(agegr1)&lt;/P&gt;&lt;P&gt;data sex1;&lt;BR /&gt;set sex;&lt;BR /&gt;Array arm[8] GT0918_50_mg_day GT0918_100_mg_day GT0918_200_mg_day&lt;BR /&gt;GT0918_300_mg_day GT0918_400_mg_day GT0918_500_mg_day GT0918_600_mg_day total;&lt;BR /&gt;do i=1 to 8;&lt;BR /&gt;arm[i]=cats('N=',substr(arm[i],1,2));&lt;BR /&gt;end;&lt;BR /&gt;data sex;&lt;BR /&gt;set sex1 sex;&lt;BR /&gt;run;&lt;BR /&gt;Proc means data=dat1.adsl noprint;&lt;BR /&gt;var age;&lt;BR /&gt;class arm;&lt;BR /&gt;output out=arm;&lt;BR /&gt;format age 4.1;&lt;BR /&gt;run;&lt;BR /&gt;Proc means data=dat1.adsl noprint Median;&lt;BR /&gt;var age;&lt;BR /&gt;class arm;&lt;BR /&gt;output out=arm1 Median=median;&lt;BR /&gt;format age 4.1;&lt;BR /&gt;run;&lt;BR /&gt;data arm;&lt;BR /&gt;set arm arm1(rename=(median=age)) ;&lt;BR /&gt;by arm;&lt;BR /&gt;if _stat_='' then _stat_='MEDIAN';&lt;BR /&gt;if arm=' ' then&lt;BR /&gt;arm='Total';&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=arm;&lt;BR /&gt;by _stat_;&lt;BR /&gt;Proc transpose data=arm out=age;&lt;BR /&gt;by _stat_;&lt;BR /&gt;var age;&lt;BR /&gt;id arm;&lt;BR /&gt;run;&lt;BR /&gt;data age(drop=Total GT0918_600_mg_day GT0918_500_mg_day GT0918_50_mg_day&lt;BR /&gt;GT0918_400_mg_day GT0918_300_mg_day GT0918_200_mg_day GT0918_100_mg_day);&lt;BR /&gt;set age;&lt;BR /&gt;total1=put(total, 5.1);&lt;BR /&gt;g_100=put(GT0918_100_mg_day, 5.1);&lt;BR /&gt;g_200=put(GT0918_200_mg_day, 5.1);&lt;BR /&gt;g_300=put(GT0918_300_mg_day, 5.1);&lt;BR /&gt;g_400=put(GT0918_400_mg_day, 5.1);&lt;BR /&gt;g_50=put(GT0918_50_mg_day, 5.1);&lt;BR /&gt;g_500=put(GT0918_500_mg_day, 5.1);&lt;BR /&gt;g_600=put(GT0918_600_mg_day, 5.1);&lt;BR /&gt;run;&lt;BR /&gt;data rep(drop=_name_ sex ethnic race agegr1 i);&lt;BR /&gt;length Parameter $25 Category $25 sex $4;&lt;BR /&gt;set sex ethnic race age(rename=(total1=total g_100=GT0918_100_mg_day&lt;BR /&gt;g_200=GT0918_200_mg_day g_300=GT0918_300_mg_day g_400=GT0918_400_mg_day&lt;BR /&gt;g_50=GT0918_50_mg_day g_500=GT0918_500_mg_day g_600=GT0918_600_mg_day&lt;BR /&gt;_label_=Parameter _stat_=Category)) agegr1;&lt;BR /&gt;Array arm[7] GT0918_50_mg_day GT0918_100_mg_day GT0918_200_mg_day&lt;BR /&gt;GT0918_300_mg_day GT0918_400_mg_day GT0918_500_mg_day GT0918_600_mg_day;&lt;BR /&gt;do i=1 to 7;&lt;BR /&gt;if arm[i]=' ' then&lt;BR /&gt;arm[i]='0 (0.00%)';&lt;BR /&gt;end;&lt;BR /&gt;if sex='M' then&lt;BR /&gt;sex='Male';&lt;BR /&gt;if sex ='Male' and _n_&amp;gt;1 then&lt;BR /&gt;do;&lt;BR /&gt;Parameter='Sex';&lt;BR /&gt;Category=sex;&lt;BR /&gt;end;&lt;BR /&gt;if ethnic ne ' ' then&lt;BR /&gt;do;&lt;BR /&gt;Parameter='Ethnicity';&lt;BR /&gt;Category=ethnic;&lt;BR /&gt;end;&lt;BR /&gt;if race ne ' ' then&lt;BR /&gt;do;&lt;BR /&gt;Parameter='Race';&lt;BR /&gt;Category=race;&lt;BR /&gt;end;&lt;BR /&gt;if agegr1 ne ' ' then&lt;BR /&gt;do;&lt;BR /&gt;Parameter='Age Group (Years)';&lt;BR /&gt;Category=agegr1;&lt;BR /&gt;end;&lt;BR /&gt;if Parameter='Age' then&lt;BR /&gt;Parameter='Age (Years)';&lt;BR /&gt;run;&lt;BR /&gt;Title 'Table 12.1.2.1.1';&lt;BR /&gt;Title2 'Demographic Characteristics';&lt;BR /&gt;Title3 'Safety Analysis Set';&lt;BR /&gt;proc report data=rep split='~' missing ;&lt;BR /&gt;columns (Parameter Category ('Escalation Cohort' GT0918_50_mg_day GT0918_100_mg_day&lt;BR /&gt;GT0918_200_mg_day GT0918_300_mg_day GT0918_400_mg_day&lt;BR /&gt;GT0918_500_mg_day GT0918_600_mg_day)('Total' Total));&lt;BR /&gt;Define Parameter/group order=data 'Parameter' ;&lt;BR /&gt;Define Category/group 'Category/~Statistic' left;&lt;BR /&gt;Define GT0918_50_mg_day / 'GT0918~50 mg/day' center ;&lt;BR /&gt;Define GT0918_100_mg_day/ 'GT0918~100 mg/day' center;&lt;BR /&gt;Define GT0918_200_mg_day/ 'GT0918~200 mg/day' center;&lt;BR /&gt;Define GT0918_300_mg_day/ 'GT0918~300 mg/day' center;&lt;BR /&gt;Define GT0918_400_mg_day/ 'GT0918~400 mg/day' center;&lt;BR /&gt;Define GT0918_500_mg_day/ 'GT0918~500 mg/day' center;&lt;BR /&gt;Define GT0918_600_mg_day/ 'GT0918~600 mg/day' center;&lt;BR /&gt;Define Total/'' center;&lt;BR /&gt;compute after Parameter;&lt;BR /&gt;line ' ';&lt;BR /&gt;Endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the output window the results are in tabular format and the headings appear in blue. I need to get rid of all that.&lt;/P&gt;&lt;P&gt;FYI: I am using SAS Studio.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828108#M35384</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-10T15:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828115#M35388</link>
      <description>&lt;P&gt;Yes how do I get rid of the grid lines?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828115#M35388</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-10T15:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828117#M35389</link>
      <description>Display of a report is controlled by both the STYLE default and the settings in proc report. &lt;BR /&gt;&lt;BR /&gt;Look at the different SAS styles and consider changing your ODS STYLE as a starting point. Look at the Journal Style for a very basic style.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p14qidvs5xf7omn14ommvsuhvmzn.htm#p1m9ucfbtt5mbwn15vmh6hmx1qv0" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p14qidvs5xf7omn14ommvsuhvmzn.htm#p1m9ucfbtt5mbwn15vmh6hmx1qv0&lt;/A&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828117#M35389</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-10T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828123#M35392</link>
      <description>&lt;P&gt;Is it not possible to create a report without any grid?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828123#M35392</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-10T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828130#M35394</link>
      <description>&lt;P&gt;Yes, but you may need to specify how.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:25:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828130#M35394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-10T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828132#M35395</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429982"&gt;@yaakov555&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is it not possible to create a report without any grid?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sure it is.&amp;nbsp; What did you TRY?&lt;/P&gt;
&lt;P&gt;Why not just make them "invisible" by using the same color as the background?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class 
  style(column)=[bordercolor=white] 
  style(header)=[bordercolor=white] 
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828132#M35395</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-08-10T17:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828133#M35396</link>
      <description>&lt;P&gt;I would like it the way proc report used to do it, without any grid.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828133#M35396</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-10T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828138#M35398</link>
      <description>&lt;P&gt;SASDocPrinter Style is the one you want, I suspect. It's in the list I previously linked to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='/home/fkhurshed/Demo1/pdf_example.pdf' style=sasdocprinter;

proc report data=sashelp.class;
run;

ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Aug 2022 18:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828138#M35398</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-10T18:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828620#M35438</link>
      <description>&lt;P&gt;This is better but I am still not there&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2022 18:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828620#M35438</guid>
      <dc:creator>yaakov555</dc:creator>
      <dc:date>2022-08-14T18:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828636#M35443</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your code needs to take full control of the ODS destination. It looks like you are using the default ODS HTML destination. Most of the demographic reports like this that I see are created for RTF and/or PDF output, not HTML. but in any case, you need full control so that you can control the destination and the style being used. In addition, I used some simple ODS style overrides in the PROC REPORT code to turn off the grid lines. Rather than run your code over and over again, I just made a CSV file for WORK.REP and used that. Changes to your code are highlighted in yellow:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1660522655513.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74424iF942FA2C9DD456AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1660522655513.png" alt="Cynthia_sas_1-1660522655513.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All the output is shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_2-1660522704682.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74425i263EBDE1C0945E1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_2-1660522704682.png" alt="Cynthia_sas_2-1660522704682.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 00:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Report/m-p/828636#M35443</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-08-15T00:18:50Z</dc:date>
    </item>
  </channel>
</rss>

