<?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: How do you remove the &amp;quot;by&amp;quot; statement &amp;quot;Item Title&amp;quot; in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-you-remove-the-quot-by-quot-statement-quot-Item-Title/m-p/355667#M18534</link>
    <description>HI:&lt;BR /&gt;  Have you tried OPTIONS NOBYLINE; before the PROC REPORT step and then OPTIONS BYLINE; at the end of the job to restore the regular behavior?&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
    <pubDate>Wed, 03 May 2017 16:33:06 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-05-03T16:33:06Z</dc:date>
    <item>
      <title>How do you remove the "by" statement "Item Title"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-you-remove-the-quot-by-quot-statement-quot-Item-Title/m-p/355629#M18531</link>
      <description>&lt;P&gt;I have a proc report statement that is rendering with the "by" statement variables, but I do not want them to show.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**********************************************************************************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let dcps_student_id = '05143698';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* use this to print the DCPS logo. This macro is OUSTSIDE the loop that makes the pdf */&lt;BR /&gt;%macro dcps_logo;&lt;BR /&gt;%put #######;&lt;BR /&gt;%put Blank Header;&lt;BR /&gt;%put #######;&lt;BR /&gt;data mydata;&lt;BR /&gt;text=' ';&lt;BR /&gt;run;&lt;BR /&gt;proc report data=mydata noheader nowd contents=''&lt;BR /&gt;style(header)=[bordercolor=white]&lt;BR /&gt;style(summary)=[bordercolor=white]&lt;BR /&gt;style(report)=[frame=void rules=none];&lt;BR /&gt;column text;&lt;BR /&gt;define text / display;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods region x=0.8cm y=0.5cm;&lt;BR /&gt;ods pdf text="^S={preimage='\\SERVERNAME\PROJECTLOCATION\Images\DCPS_bridge.png?height=1.50cm&amp;amp;width=2.5cm'}";&lt;BR /&gt;ods pdf text =" ";&lt;/P&gt;&lt;P&gt;%mend dcps_logo;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* ods is defined as output delivery system */&lt;BR /&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;/* clear graph title(s), if there is(are) one(any) from pervious iterations */&lt;BR /&gt;title;&lt;BR /&gt;title2;&lt;BR /&gt;title3;&lt;/P&gt;&lt;P&gt;footnote;&lt;BR /&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;options nocenter nodate nonumber orientation=portrait device=actximg; /* oreintation of the report */&lt;/P&gt;&lt;P&gt;/* set macro variable for number of terms */&lt;BR /&gt;proc sql noprint;&lt;BR /&gt;select distinct max_terms into :max_terms&lt;BR /&gt;from SASdev.transcript_GPA&lt;BR /&gt;where dcps_student_id = &amp;amp;dcps_student_id&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;%macro loop;&lt;/P&gt;&lt;P&gt;data transcript;&lt;BR /&gt;set SASdev.transcript_GPA;&lt;BR /&gt;where dcps_student_id = &amp;amp;dcps_student_id;&lt;/P&gt;&lt;P&gt;call symput('dcps_student_id',dcps_student_id);&lt;BR /&gt;call symput('number_terms',number_terms);&lt;BR /&gt;call symput('max_terms',max_terms);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;a1='\\SERVERNAME\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;startpage=now&lt;BR /&gt;pdftoc=1&lt;BR /&gt;dpi=300;&lt;/P&gt;&lt;P&gt;ods layout absolute x=0.0cm y=0.0cm;&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 pdf nobookmarkgen;&lt;/P&gt;&lt;P&gt;ods region x=5.0cm y=1.0cm;&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;%do i=1 %to &amp;amp;max_terms;&lt;/P&gt;&lt;P&gt;%let left=0.0;&lt;BR /&gt;%if &amp;amp;i=1 %then %let down=&amp;amp;i;&lt;BR /&gt;%else %let down=%eval(&amp;amp;i*2+1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods region x=&amp;amp;left.in y=&amp;amp;down.in width=3.75in;&lt;BR /&gt;proc report data=work.transcript split='~' nocenter nowindows&lt;BR /&gt;style(header)={font_face=Calibri font_size=4pt height=0.12in just=c vjust=c background=lightgrey font_weight=bold};&lt;BR /&gt;columns ('Grade' grade_level)&lt;BR /&gt;('Course' course_number course_name)&lt;BR /&gt;(score)&lt;BR /&gt;('Credits' credits_attempted credits_earned );&lt;BR /&gt;where dcps_student_id = '05143698';&lt;BR /&gt;by school_year term_code term_gpa term_gpa_weighted cum_gpa cum_gpa_weighted;&lt;BR /&gt;define grade_level / group 'Level' style={cellwidth=0.35in cellheight=0.12in just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define course_number / display 'Number' style={cellwidth=0.50in cellheight=0.12in just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define course_name / display 'Name' style={cellwidth=0.90in cellheight=0.12in just=l vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define score / display 'Score' style={cellwidth=0.35in cellheight=0.12in just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define credits_attempted / display 'Attempted' style={cellwidth=0.42in cellheight=0.12in just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;define credits_earned / display 'Earned' style={cellwidth=0.42in cellheight=0.12in just=c vjust=c font_face="Helvetica" fontsize=4pt } ;&lt;BR /&gt;title1 height=6pt bold 'School Year: #BYVAL(school_year) Term: #BYVAL(term_code)';&lt;BR /&gt;title2 height=6pt bold 'Term GPA: #BYVAL(term_gpa) Term GPA (weighted): #BYVAL(term_gpa_weighted)';&lt;BR /&gt;title3 height=6pt bold 'Cumulative GPA: #BYVAL(cum_gpa) Cumulative GPA (weighted): #BYVAL(Cumulative_gpa_weighted)';&lt;BR /&gt;title4 &amp;amp;down;&lt;BR /&gt;break after grade_level/page;&lt;BR /&gt;run;&lt;BR /&gt;%end;&lt;BR /&gt;ods pdf nobookmarkgen; /* this removes the -content or index- rendering once pdf is created */&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;BR /&gt;title3;&lt;BR /&gt;&lt;BR /&gt;ods layout end;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend loop; /* end the macro Loop */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%loop; /* invoke the macro Loop */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;**********************************************************************************************************************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the output...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8688iE88A8EF76B688DD7/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="proc report remove by.png" title="proc report remove by.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 14:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-you-remove-the-quot-by-quot-statement-quot-Item-Title/m-p/355629#M18531</guid>
      <dc:creator>cuevasj</dc:creator>
      <dc:date>2017-05-03T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove the "by" statement "Item Title"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-you-remove-the-quot-by-quot-statement-quot-Item-Title/m-p/355667#M18534</link>
      <description>HI:&lt;BR /&gt;  Have you tried OPTIONS NOBYLINE; before the PROC REPORT step and then OPTIONS BYLINE; at the end of the job to restore the regular behavior?&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 03 May 2017 16:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-you-remove-the-quot-by-quot-statement-quot-Item-Title/m-p/355667#M18534</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-03T16:33:06Z</dc:date>
    </item>
  </channel>
</rss>

