<?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 How to make a proc report output dynamic with ods layout absolute statment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-a-proc-report-output-dynamic-with-ods-layout/m-p/841316#M332650</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever the proc report output is exceeding the page dimension the output is not getting printed in the pdf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options orientation=landscape nodate nonumber topmargin=0.15in bottommargin=0.15in leftmargin=0.15in rightmargin=0.15in;&lt;/P&gt;&lt;P&gt;ods pdf file="/home/u49705186/SAS Report Writing/ANB_pdf/IM_VM.pdf" ;&lt;BR /&gt;ods escapechar='~';&lt;BR /&gt;ods layout absolute width=8.00in height=11.00in;&lt;/P&gt;&lt;P&gt;ods region x=0in y=1in;&lt;BR /&gt;ods pdf text="~S={outputwidth=100% bordertopcolor=#D53032 bordertopwidth=1pt } ";&lt;BR /&gt;ods pdf text="~{newline}";&lt;/P&gt;&lt;P&gt;ods region x=0in y=2.0in ;&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Counterparty: xxxxxxxxxxxxxxxx}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]To:}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Email:}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Valuation Date: xxxxxxxxxx}';&lt;/P&gt;&lt;P&gt;ods region x=5in y=2.0in ;&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt]From: xxxxxxxxxxx}';&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt] xxxxxxxxxxxx}';&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt]Tel: xxxxxxxxxxxx}';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods region y=3.0in x=0.0in ;&lt;BR /&gt;proc report data=cva&lt;BR /&gt;style(header) ={backgroundcolor=blue color=white borderleftcolor=black borderleftwidth=.5pt&lt;BR /&gt;borderrightcolor=black borderrightwidth=.5pt borderbottomcolor=black borderbottomwidth=.5pt bordertopcolor=black bordertopwidth=.5pt}&lt;BR /&gt;style(column) = {borderleftcolor=black borderleftwidth=.5pt&lt;BR /&gt;borderrightcolor=black borderrightwidth=.5pt borderbottomcolor=black borderbottomwidth=.5pt bordertopcolor=black bordertopwidth=.5pt};&lt;BR /&gt;where cpty_id ="2667";&lt;BR /&gt;column M_NB_INIT TRADE_DATE END_DATE M_TRN_FMLY M_TRN_GRP M_CNT_TYPO PRODUCT M_H_CURR0 M_H_NOMINAL0 M_H_CURR1 M_H_NOMINAL1 MMT_CCY RC_MTM_VALUE_SAR_NS;&lt;BR /&gt;define M_NB_INIT / display 'CNT.ORIGIN';&lt;BR /&gt;define TRADE_DATE / display;&lt;BR /&gt;define END_DATE / display 'EXPIRY DATE';&lt;BR /&gt;define RC_MTM_VALUE_SAR_NS /display 'MTM';&lt;BR /&gt;define M_TRN_FMLY/display noprint;&lt;BR /&gt;define M_TRN_GRP/display noprint;&lt;BR /&gt;define M_CNT_TYPO/display noprint;&lt;BR /&gt;/* define CPTY_NAME/display 'COUNTERPART' ls=100;*/&lt;BR /&gt;define M_H_CURR0/display 'NOMINAL CCY0';&lt;BR /&gt;define M_H_NOMINAL0/display 'NOMINAL0';&lt;BR /&gt;define M_H_CURR1/display 'NOMINAL CCY1';&lt;BR /&gt;define M_H_NOMINAL1/display 'NOMINAL1';&lt;BR /&gt;define MMT_CCY/ computed 'MTM CCY';&lt;BR /&gt;define PRODUCT/computed ;&lt;BR /&gt;compute PRODUCT/ character length=20 ;&lt;BR /&gt;PRODUCT =compress(M_TRN_FMLY) || ' ' || compress(M_TRN_GRP) || ' ' || compress(M_CNT_TYPO);&lt;BR /&gt;endcomp;&lt;BR /&gt;compute MMT_CCY/ character length=5;&lt;BR /&gt;MMT_CCY= "USD";&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods layout end;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;BR /&gt;proc odstext;&lt;BR /&gt;p"*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx."&lt;BR /&gt;/style=[font_face=Arial fontsize=6pt];&lt;BR /&gt;p"~{newline 1}";&lt;BR /&gt;p'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.'/style=[font_face=Arial fontsize=6pt];&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 15:20:28 GMT</pubDate>
    <dc:creator>anshulrastogi64</dc:creator>
    <dc:date>2022-10-28T15:20:28Z</dc:date>
    <item>
      <title>How to make a proc report output dynamic with ods layout absolute statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-a-proc-report-output-dynamic-with-ods-layout/m-p/841316#M332650</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever the proc report output is exceeding the page dimension the output is not getting printed in the pdf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options orientation=landscape nodate nonumber topmargin=0.15in bottommargin=0.15in leftmargin=0.15in rightmargin=0.15in;&lt;/P&gt;&lt;P&gt;ods pdf file="/home/u49705186/SAS Report Writing/ANB_pdf/IM_VM.pdf" ;&lt;BR /&gt;ods escapechar='~';&lt;BR /&gt;ods layout absolute width=8.00in height=11.00in;&lt;/P&gt;&lt;P&gt;ods region x=0in y=1in;&lt;BR /&gt;ods pdf text="~S={outputwidth=100% bordertopcolor=#D53032 bordertopwidth=1pt } ";&lt;BR /&gt;ods pdf text="~{newline}";&lt;/P&gt;&lt;P&gt;ods region x=0in y=2.0in ;&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Counterparty: xxxxxxxxxxxxxxxx}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]To:}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Email:}';&lt;BR /&gt;ods pdf text='~{style[font_face=Arial fontweight=bold fontsize=7pt]Valuation Date: xxxxxxxxxx}';&lt;/P&gt;&lt;P&gt;ods region x=5in y=2.0in ;&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt]From: xxxxxxxxxxx}';&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt] xxxxxxxxxxxx}';&lt;BR /&gt;ods text='~{style[fontweight=bold font_face=Arial fontsize=7pt]Tel: xxxxxxxxxxxx}';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods region y=3.0in x=0.0in ;&lt;BR /&gt;proc report data=cva&lt;BR /&gt;style(header) ={backgroundcolor=blue color=white borderleftcolor=black borderleftwidth=.5pt&lt;BR /&gt;borderrightcolor=black borderrightwidth=.5pt borderbottomcolor=black borderbottomwidth=.5pt bordertopcolor=black bordertopwidth=.5pt}&lt;BR /&gt;style(column) = {borderleftcolor=black borderleftwidth=.5pt&lt;BR /&gt;borderrightcolor=black borderrightwidth=.5pt borderbottomcolor=black borderbottomwidth=.5pt bordertopcolor=black bordertopwidth=.5pt};&lt;BR /&gt;where cpty_id ="2667";&lt;BR /&gt;column M_NB_INIT TRADE_DATE END_DATE M_TRN_FMLY M_TRN_GRP M_CNT_TYPO PRODUCT M_H_CURR0 M_H_NOMINAL0 M_H_CURR1 M_H_NOMINAL1 MMT_CCY RC_MTM_VALUE_SAR_NS;&lt;BR /&gt;define M_NB_INIT / display 'CNT.ORIGIN';&lt;BR /&gt;define TRADE_DATE / display;&lt;BR /&gt;define END_DATE / display 'EXPIRY DATE';&lt;BR /&gt;define RC_MTM_VALUE_SAR_NS /display 'MTM';&lt;BR /&gt;define M_TRN_FMLY/display noprint;&lt;BR /&gt;define M_TRN_GRP/display noprint;&lt;BR /&gt;define M_CNT_TYPO/display noprint;&lt;BR /&gt;/* define CPTY_NAME/display 'COUNTERPART' ls=100;*/&lt;BR /&gt;define M_H_CURR0/display 'NOMINAL CCY0';&lt;BR /&gt;define M_H_NOMINAL0/display 'NOMINAL0';&lt;BR /&gt;define M_H_CURR1/display 'NOMINAL CCY1';&lt;BR /&gt;define M_H_NOMINAL1/display 'NOMINAL1';&lt;BR /&gt;define MMT_CCY/ computed 'MTM CCY';&lt;BR /&gt;define PRODUCT/computed ;&lt;BR /&gt;compute PRODUCT/ character length=20 ;&lt;BR /&gt;PRODUCT =compress(M_TRN_FMLY) || ' ' || compress(M_TRN_GRP) || ' ' || compress(M_CNT_TYPO);&lt;BR /&gt;endcomp;&lt;BR /&gt;compute MMT_CCY/ character length=5;&lt;BR /&gt;MMT_CCY= "USD";&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods layout end;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;BR /&gt;proc odstext;&lt;BR /&gt;p"*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx."&lt;BR /&gt;/style=[font_face=Arial fontsize=6pt];&lt;BR /&gt;p"~{newline 1}";&lt;BR /&gt;p'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.'/style=[font_face=Arial fontsize=6pt];&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-a-proc-report-output-dynamic-with-ods-layout/m-p/841316#M332650</guid>
      <dc:creator>anshulrastogi64</dc:creator>
      <dc:date>2022-10-28T15:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a proc report output dynamic with ods layout absolute statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-a-proc-report-output-dynamic-with-ods-layout/m-p/841325#M332656</link>
      <description>&lt;P&gt;Since we do not have your data we can't test this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the &amp;lt;/&amp;gt; icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your current system PAPERSIZE setting? Changing that may be appropriate if the PDF is not intended for printing on specific sizes of paper. You can make a logic size as big as needed to share the PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-a-proc-report-output-dynamic-with-ods-layout/m-p/841325#M332656</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-28T15:46:42Z</dc:date>
    </item>
  </channel>
</rss>

