<?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: Remove space between title and proc report in ODS PDF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-space-between-title-and-proc-report-in-ODS-PDF/m-p/355972#M18546</link>
    <description>Hi:&lt;BR /&gt;  Since you are using absolute layout and your output seems to be more complicated than just one report since you have a loop to place the output, this question might be better answered by Tech Support. &lt;BR /&gt; &lt;BR /&gt;cynthia</description>
    <pubDate>Thu, 04 May 2017 13:51:28 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-05-04T13:51:28Z</dc:date>
    <item>
      <title>Remove space between title and proc report in ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-space-between-title-and-proc-report-in-ODS-PDF/m-p/355968#M18545</link>
      <description>&lt;P&gt;I have seen several solutions for rtf using parskip, but I have not been able to find any solutions for removing the space between the title lines and the result of a proc report in pdf...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8705i9F8F92D4367FE4CD/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="whitespace proc report title.png" title="whitespace proc report title.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro report_loop;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;a1='\\SERVERNAME\FILELOCATOIN\sasdata\Transcripts\sasData\test_123.pdf';&lt;BR /&gt;a1=compress(a1);&lt;BR /&gt;call symput('attachment',a1);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%put attachment=&amp;amp;attachment;&lt;/P&gt;&lt;P&gt;ods pdf file="&amp;amp;attachment"&lt;BR /&gt;uniform&lt;BR /&gt;notoc&lt;BR /&gt;nobookmarkgen&lt;BR /&gt;bookmarklist=hide&lt;BR /&gt;author="Jose Cuevas"&lt;BR /&gt;dpi=300;&lt;/P&gt;&lt;P&gt;ods layout absolute x=0.00cm y=0.00cm;&lt;/P&gt;&lt;P&gt;/* only one label per page*/&lt;BR /&gt;ods proclabel="&amp;amp;dcps_student_id";&lt;/P&gt;&lt;P&gt;%dcps_logo;&lt;/P&gt;&lt;P&gt;ods region x=3.00cm y=1.00cm;&lt;BR /&gt;ods pdf text ="^S={font_size=14pt font_face=Calibri color=grey just=l}Duval County Public Schools Transcript";&lt;/P&gt;&lt;P&gt;OPTIONS NOBYLINE mlogic;&lt;/P&gt;&lt;P&gt;%let i=0;&lt;/P&gt;&lt;P&gt;%do i=1 %to &amp;amp;max_terms;&lt;BR /&gt;data _null_;&lt;BR /&gt;p=&amp;amp;i;&lt;/P&gt;&lt;P&gt;%let i=&amp;amp;i;&lt;BR /&gt;%let even_odd=%sysfunc(mod(&amp;amp;i,2));&lt;BR /&gt;&lt;BR /&gt;%if &amp;amp;even_odd=1 %then %let left=1.00;&lt;BR /&gt;%if &amp;amp;even_odd=0 %then %let left=10.0;&lt;/P&gt;&lt;P&gt;%if &amp;amp;i=1 %then %let down=2.00;&lt;BR /&gt;%if &amp;amp;i=2 %then %let down=2.00;&lt;BR /&gt;%if &amp;amp;i=3 %then %let down=7.00;&lt;BR /&gt;%if &amp;amp;i=4 %then %let down=7.00;&lt;BR /&gt;%if &amp;amp;i=5 %then %let down=12.0;&lt;BR /&gt;%if &amp;amp;i=6 %then %let down=12.0;&lt;BR /&gt;%if &amp;amp;i=7 %then %let down=17.0;&lt;BR /&gt;%if &amp;amp;i=8 %then %let down=17.0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods region x=&amp;amp;left.cm y=&amp;amp;down.cm;&lt;BR /&gt;proc report data=work.transcript_report split='~' headline headskip&lt;BR /&gt;style(header)={font_face=Helvetica font_size=4pt height=5pt just=c vjust=c background=lightgrey font_weight=bold };&lt;/P&gt;&lt;P&gt;column (('Grade' grade_level)&lt;BR /&gt;('Course' course_number course_name )&lt;BR /&gt;(score)&lt;BR /&gt;('Credits' credits_attempted credits_earned ));&lt;/P&gt;&lt;P&gt;where term_number = &amp;amp;i;&lt;BR /&gt;by school_year term_code term_gpa term_gpa_weighted cum_gpa cum_gpa_weighted;&lt;/P&gt;&lt;P&gt;define grade_level / display 'Level' style={ cellheight=0.1cm cellspacing=0 just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define course_number / display 'Number' style={ cellheight=0.1cm cellspacing=0 just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define course_name / display 'Name' style={ cellheight=0.1cm cellspacing=0 just=l vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define score / display 'Score' style={ cellheight=0.1cm cellspacing=0 just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define credits_attempted / display 'Attempted' style={ cellheight=0.1cm cellspacing=0 just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define credits_earned / display 'Earned' style={ cellheight=0.1cm cellspacing=0 just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;title1 height=6pt bold lspace=1pt 'School Year: #BYVAL(school_year) Term: #BYVAL(term_code)';&lt;BR /&gt;title2 height=6pt bold lspace=1pt 'Term GPA: #BYVAL(term_gpa) Term GPA (weighted): #BYVAL(term_gpa_weighted)';&lt;BR /&gt;title3 height=6pt bold lspace=1pt 'Cumulative GPA: #BYVAL(cum_gpa) Cumulative GPA (weighted): #BYVAL(Cum_gpa_weighted)';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;BR /&gt;title3;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;OPTIONS BYLINE;&lt;/P&gt;&lt;P&gt;ods pdf nobookmarkgen; /* this removes the -content or index- rendering once pdf is created */&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods _all_ close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend report_loop;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 13:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-space-between-title-and-proc-report-in-ODS-PDF/m-p/355968#M18545</guid>
      <dc:creator>cuevasj</dc:creator>
      <dc:date>2017-05-04T13:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove space between title and proc report in ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-space-between-title-and-proc-report-in-ODS-PDF/m-p/355972#M18546</link>
      <description>Hi:&lt;BR /&gt;  Since you are using absolute layout and your output seems to be more complicated than just one report since you have a loop to place the output, this question might be better answered by Tech Support. &lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 04 May 2017 13:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-space-between-title-and-proc-report-in-ODS-PDF/m-p/355972#M18546</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-04T13:51:28Z</dc:date>
    </item>
  </channel>
</rss>

