<?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 Putting Free text above a title line without the output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727865#M24917</link>
    <description>&lt;P&gt;Is there a way to put free texts above your title within your output?&amp;nbsp; I tried it but it gave me an error that it needs to be placed by a group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel file="\\fenrir\DEVL\sam_s\Standard Opioid ODS Conversion\Summary_test.xlsx" options(start_at="1,1"&lt;BR /&gt;frozen_headers="5"&lt;BR /&gt;frozen_rowheaders="3"&lt;BR /&gt;/*autofilter="1-5"*/&lt;BR /&gt;sheet_name="Summary"&lt;BR /&gt;row_repeat="1"&lt;BR /&gt;embedded_titles="yes");&lt;/P&gt;
&lt;P&gt;proc report split='~' data=Table1_Final out=Table1_Final_1 spanrows style(header)=[fontweight=bold background=lightblue foreground=black]&lt;BR /&gt;style(column)={font_face='Calibri' fontsize=11pt};&lt;BR /&gt;column Status P4 P3 P2 P1;&lt;BR /&gt;define Status / Display "";&lt;BR /&gt;define P1 / Analysis "7/1/20 -~ 12/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P2 / Analysis "4/1/20 -~ 09/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P3 / Analysis "1/1/20 -~ 06/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P4 / Analysis "10/1/19 -~ 03/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;title1 '# of Members Filling Opioids';&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before _Page_ / left;&lt;BR /&gt;length text0 - text6 $100;&lt;BR /&gt;if _BREAK_= ' ' then&lt;BR /&gt;do;&lt;BR /&gt;text0="OPIOID OVERUTILIZATION";&lt;/P&gt;
&lt;P&gt;text1="HEALTH PLAN GROUP: &amp;amp;Clnt_Name";&lt;/P&gt;
&lt;P&gt;text2="CLIENT id: &amp;amp;clntid";&lt;/P&gt;
&lt;P&gt;text3="Date Generated: &amp;amp;To_Date";&lt;/P&gt;
&lt;P&gt;text4="Evaluation Period: &amp;amp;Eval_Date";&lt;/P&gt;
&lt;P&gt;text5="Data Sources: PDW";&lt;BR /&gt;end;&lt;BR /&gt;line text0 $100.;&lt;BR /&gt;line text1 $100.;&lt;BR /&gt;line text2 $100.;&lt;BR /&gt;line text3 $100.;&lt;BR /&gt;line text4 $100.;&lt;BR /&gt;line text5 $100.;&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before Status;&lt;BR /&gt;line '';&lt;BR /&gt;line '';&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods excel close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want it to look like the attachment Example.xlsx but when I run my code it looked like&amp;nbsp;\Summary_test.xlsx&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 21:21:52 GMT</pubDate>
    <dc:creator>ssitharath0420</dc:creator>
    <dc:date>2021-03-19T21:21:52Z</dc:date>
    <item>
      <title>Putting Free text above a title line without the output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727865#M24917</link>
      <description>&lt;P&gt;Is there a way to put free texts above your title within your output?&amp;nbsp; I tried it but it gave me an error that it needs to be placed by a group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel file="\\fenrir\DEVL\sam_s\Standard Opioid ODS Conversion\Summary_test.xlsx" options(start_at="1,1"&lt;BR /&gt;frozen_headers="5"&lt;BR /&gt;frozen_rowheaders="3"&lt;BR /&gt;/*autofilter="1-5"*/&lt;BR /&gt;sheet_name="Summary"&lt;BR /&gt;row_repeat="1"&lt;BR /&gt;embedded_titles="yes");&lt;/P&gt;
&lt;P&gt;proc report split='~' data=Table1_Final out=Table1_Final_1 spanrows style(header)=[fontweight=bold background=lightblue foreground=black]&lt;BR /&gt;style(column)={font_face='Calibri' fontsize=11pt};&lt;BR /&gt;column Status P4 P3 P2 P1;&lt;BR /&gt;define Status / Display "";&lt;BR /&gt;define P1 / Analysis "7/1/20 -~ 12/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P2 / Analysis "4/1/20 -~ 09/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P3 / Analysis "1/1/20 -~ 06/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P4 / Analysis "10/1/19 -~ 03/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;title1 '# of Members Filling Opioids';&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before _Page_ / left;&lt;BR /&gt;length text0 - text6 $100;&lt;BR /&gt;if _BREAK_= ' ' then&lt;BR /&gt;do;&lt;BR /&gt;text0="OPIOID OVERUTILIZATION";&lt;/P&gt;
&lt;P&gt;text1="HEALTH PLAN GROUP: &amp;amp;Clnt_Name";&lt;/P&gt;
&lt;P&gt;text2="CLIENT id: &amp;amp;clntid";&lt;/P&gt;
&lt;P&gt;text3="Date Generated: &amp;amp;To_Date";&lt;/P&gt;
&lt;P&gt;text4="Evaluation Period: &amp;amp;Eval_Date";&lt;/P&gt;
&lt;P&gt;text5="Data Sources: PDW";&lt;BR /&gt;end;&lt;BR /&gt;line text0 $100.;&lt;BR /&gt;line text1 $100.;&lt;BR /&gt;line text2 $100.;&lt;BR /&gt;line text3 $100.;&lt;BR /&gt;line text4 $100.;&lt;BR /&gt;line text5 $100.;&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before Status;&lt;BR /&gt;line '';&lt;BR /&gt;line '';&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods excel close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want it to look like the attachment Example.xlsx but when I run my code it looked like&amp;nbsp;\Summary_test.xlsx&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727865#M24917</guid>
      <dc:creator>ssitharath0420</dc:creator>
      <dc:date>2021-03-19T21:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Putting Free text above a title line without the output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727871#M24918</link>
      <description>&lt;P&gt;You don't show a TITLE statement in that code so I am not sure how to interpret your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you mean text before the entire procedure you can use either ODS TEXT or Proc ODSTEXT to create text that goes to the ODS destination. You will need to modify the Sheet_interval option to get the output on the same sheet as the Proc Report output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many users here don't want to download Excel files because of virus potential, organization policy or others have such things blocked by security software. &lt;/P&gt;
&lt;P&gt;If you want something to "look like" then provide an image.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727871#M24918</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-19T21:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Putting Free text above a title line without the output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/728061#M24919</link>
      <description>Hi: I could not open your XLSX files, there was an error of some kind on my system. I do see your TITLE statement, however, placing the title statement in the middle of the PROC REPORT isn't going to change anything. The TITLE statement is a GLOBAL statement and it is pulled out and handled first, so it is put at the top of the physical or logical page. Your PROC REPORT (all of your PROC REPORT) including the LINE statement output will happen AFTER the TITLE statement. So even without seeing your output, my guess is that you think the TITLE will be in the middle of the PROC REPORT, but it is at the top, above your LINE statements. &lt;BR /&gt;&lt;BR /&gt;  I think I would do the COMPUTE BEFORE _PAGE_ lines as TITLES instead, and move your  current TITLE (title1 '# of Members Filling Opioids';)  to be the LINE statement for the BEFORE, instead. &lt;BR /&gt;&lt;BR /&gt;  But again, I could not see your Excel sheets. And without data, no one can test or tweak your code anyway.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 22 Mar 2021 01:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/728061#M24919</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-03-22T01:43:57Z</dc:date>
    </item>
  </channel>
</rss>

