<?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: ODS PDF Using Proc Report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195289#M13199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your title requirements can be achieved with SAS title statements. They are not tied to PROC REPORT. Here's the first page of the output produced by the code below.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10656" alt="exam_title.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10656_exam_title.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options nodate nonumber;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file='c:\temp\spec_header_titles.pdf';&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title bold h=14pt 'The First Title';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title2 j=l 'Client Name' j=r "&amp;amp;sysdate";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title3 j=l 'More Stuff'&amp;nbsp; j=r "Something";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print data=sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;class age;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;var height weight;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;table age all,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (height*n mean) weight*(min max);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 18:38:06 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-05-28T18:38:06Z</dc:date>
    <item>
      <title>ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195285#M13195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi....I am trying to create a report in pdf and proc report to generated the data and table for the output. I have attached a word document on how I would like each page to look like and having difficulty in inserting the title, footnote and repeated header on top of each page. Any suggestions and help would be greatly appreciated.....Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 14:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195285#M13195</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-05-28T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195286#M13196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simplest way is to use a by group:&lt;/P&gt;&lt;P&gt;proc report data = xyz...;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title 4 "Client Name: #byval1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Report Date From: #byval2";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by client_name...;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 14:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195286#M13196</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-28T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195287#M13197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I say that your dates in the example look a little odd? 201500430&lt;/P&gt;&lt;P&gt;I get that 2015 would be a year but are you using 3 digits for a month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 15:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195287#M13197</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-28T15:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195288#M13198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Ballardw....thank you for pointing that out....it was error....it should of been 20150430 as I was just creating a template of what I would like the output file to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 15:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195288#M13198</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-05-28T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195289#M13199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your title requirements can be achieved with SAS title statements. They are not tied to PROC REPORT. Here's the first page of the output produced by the code below.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10656" alt="exam_title.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10656_exam_title.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options nodate nonumber;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file='c:\temp\spec_header_titles.pdf';&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title bold h=14pt 'The First Title';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title2 j=l 'Client Name' j=r "&amp;amp;sysdate";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff; font-size: 14pt;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title3 j=l 'More Stuff'&amp;nbsp; j=r "Something";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print data=sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;class age;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;var height weight;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;table age all,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (height*n mean) weight*(min max);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 18:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195289#M13199</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-28T18:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195290#M13200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia......Thank you so much. I tried something similar to your example but am still having problems with including a macro variable (for example, &amp;amp;rundate that I had defined) with either the title or footnote statements. I don't believe I enclosed the macro variable in double quotes but will try that and see if that resolves the problem. One other think, is it possible to insert a line after title3 and above the first footnote. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 01:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195290#M13200</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-05-29T01:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195291#M13201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try style:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file='c:\temp\x.pdf' style=&lt;STRONG&gt;journal&lt;/STRONG&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 13:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195291#M13201</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-29T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195292#M13202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Xia Keshan....I am using style=journal. I would like to insert a line across the page that would separate the Titles from the Table. I am wondering would I have to use the BORDERBOTTOM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 13:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195292#M13202</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-05-29T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195293#M13203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO. Try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;
ods pdf file='c:\temp\x.pdf' style=journal;
title 'xxxxxxxx';
proc report data=sashelp.class nowd style(header)={borderbottomcolor=white};
columns name age;
define name/style(column)={bordertopcolor=white};
define age/style(column)={bordertopcolor=white};
run;
ods pdf close;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="x.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10674_x.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 14:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195293#M13203</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-29T14:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195294#M13204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; This output was created with the changed code below (using the TITLE statement).&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;IMG alt="add_line.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10676_add_line.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;%let rstr = %str( ); &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;%let tstr = %sysfunc(repeat(&amp;amp;rstr,50));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods pdf file='c:\temp\spec_header_titlesx.pdf';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;title bold h=14pt '1 The First Title';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;title2 j=l 'Client Name' j=r "&amp;amp;sysdate";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;title3 j=l 'More Stuff'&amp;nbsp; j=r "Something";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff; font-family: courier new,courier;"&gt;&lt;STRONG&gt;title4 "^{style[bordertopwidth=2px bordertopcolor=black] &amp;amp;tstr}";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 16:12:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195294#M13204</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-29T16:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Using Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195295#M13205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks Cyntia...Works perfectly!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 16:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Using-Proc-Report/m-p/195295#M13205</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-05-29T16:25:44Z</dc:date>
    </item>
  </channel>
</rss>

