<?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 can I insert a page number in my DATA step file print report? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359667#M18638</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138057"&gt;@ADouglas&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks, but although it leads to page numbers, it doesn't provide the kind of solution I want.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When providing a short answer like that you may want to consider using the QUOTE button at the upper right of the message entry window so that we know which solution, question or comment you are addressing.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 14:49:24 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-05-18T14:49:24Z</dc:date>
    <item>
      <title>How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358348#M18606</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to insert a page number in my file print report that I create with a DATA step. Below is my code. Can someone please explain to me how to do it? Thank you, Aaron.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;missing&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'-'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Item Analysis Report for &amp;amp;FORM that has &amp;amp;NUMBER MCQs."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New" size="2"&gt;SCORED.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;amp;FORM.Combined_Statistics_R; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;SET&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New" size="2"&gt;SCORED.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;amp;FORM.Combined_Statistics_R (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;RENAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(Key_char=Key));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;drop&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_M Mean_Score_M PT_Biserial_M;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;print&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;header&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=H &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;linesleft&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=remain &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pagesize&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; remain&amp;lt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;17&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;put&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_page_&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;PUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Item Number:"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;14&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; seq @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Accession Number:"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;38&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; ACN @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;55&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"N of Response Opts:"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Number_of_Options/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Correct Answer:"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Key/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'P Value:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;13&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; pvalue @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;21&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Pt Biserial:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;34&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Pt_Biserial @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;42&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Bench Item Delta:"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Bench_Item_Delta //&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Response Opt:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"A"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"B"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"C"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"D"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;70&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"E"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Missing"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Total N of PPL'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'N of PPL:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_A @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_B @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_C @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_D @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;70&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_E @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; N_of_ppl_M @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Total_N/ &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Opt P Value:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_A @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_B @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_C @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_D @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;70&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PValue_E @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Pt Biserial:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PT_Biserial_A @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PT_Biserial_B @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PT_Biserial_C @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PT_Biserial_D @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;70&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; PT_Biserial_E @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Mean Score:'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;30&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Mean_Score_A @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;40&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Mean_Score_B @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Mean_Score_C @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;60&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Mean_Score_D @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;70&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Mean_Score_E @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; //&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"NOTE: For response options no examinee selects, a dash '-' is displayd for the Pt Biserial."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"NOTE: For a not permitted response option, a dash '-' is displayed for all item statistics."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;//;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;return&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;H: &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Item Analysis, &amp;amp;FORM, &amp;amp;NUMBER MCQs."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Run Date: %sysfunc(date(),date9.)"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Run Time: %sysfunc(time(),tod8.)"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;missing&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'.'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 20:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358348#M18606</guid>
      <dc:creator>ADouglas</dc:creator>
      <dc:date>2017-05-12T20:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358354#M18607</link>
      <description>&lt;P&gt;Maybe some thing like this:&lt;/P&gt;
&lt;PRE&gt;missing='-';
title "Item Analysis Report for &amp;amp;FORM that has &amp;amp;NUMBER MCQs.";
DATA SCORED.&amp;amp;FORM.Combined_Statistics_R; 
SET SCORED.&amp;amp;FORM.Combined_Statistics_R (RENAME=(Key_char=Key));
drop PValue_M Mean_Score_M PT_Biserial_M;
file print header=H linesleft=remain pagesize=90;
/* Establish a counter variable*/
Retain PageCount 1;
if remain&amp;lt;17 then do;
   /*assuming this IF to page the file*/
   Put Pagecount;
   put _page_ ;
   /*increment the counter after printing*/
   PageCount+1;
End;
PUT @1 "Item Number:" @14 seq @20 "Accession Number:" @38 ACN @55 "N of Response Opts:" @75 Number_of_Options/
@4 "Correct Answer:" @20 Key/
@4 'P Value:' @13 pvalue @21 'Pt Biserial:' @34 Pt_Biserial @42 "Bench Item Delta:" @60 Bench_Item_Delta //
@10 'Response Opt:' @30 "A" @40 "B" @50 "C" @60 "D" @70 "E" @80 "Missing" @90 'Total N of PPL'/
@10 'N of PPL:' @30 N_of_ppl_A @40 N_of_ppl_B @50 N_of_ppl_C @60 N_of_ppl_D @70 N_of_ppl_E @80 N_of_ppl_M @90 Total_N/ 
@10 'Opt P Value:' @30 PValue_A @40 PValue_B @50 PValue_C @60 PValue_D @70 PValue_E @80 /
@10 'Pt Biserial:' @30 PT_Biserial_A @40 PT_Biserial_B @50 PT_Biserial_C @60 PT_Biserial_D @70 PT_Biserial_E @80 /
@10 'Mean Score:' @30 Mean_Score_A @40 Mean_Score_B @50 Mean_Score_C @60 Mean_Score_D @70 Mean_Score_E @80 //
@4 "NOTE: For response options no examinee selects, a dash '-' is displayed for the Pt Biserial." /
@4 "NOTE: For a not permitted response option, a dash '-' is displayed for all item statistics."//;
return;
H: Put @1 "Item Analysis, &amp;amp;FORM, &amp;amp;NUMBER MCQs."/
@1 "Run Date: %sysfunc(date(),date9.)"/
@1 "Run Time: %sysfunc(time(),tod8.)"/;
RUN; 
options missing='.';
title;&lt;/PRE&gt;
&lt;P&gt;Without data there is not way to actually test this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Corrected a spelling for "displayd" in the for Pt&amp;nbsp; Biserial line.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 21:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358354#M18607</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-12T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358373#M18608</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You do NOT show your options, but I wonder why you are not using the simple options for inserting a page number. For example, in a much simplifed version of your program that only writes out from SASHELP.SHOES:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8859i1367F4224D3AF1B8/image-size/original?v=1.0&amp;amp;px=-1" alt="options_number.png" title="options_number.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And even if you do not want to print your FILE PRINT report from the OUTPUT window, you can use the FILE= option of ODS LISTING to make an ASCII text file that contains "page feeds" and page numbers, as shown here:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8860i557C1489EEAC93D6/image-size/original?v=1.0&amp;amp;px=-1" alt="use_ods_listing_page_numbers_in_file.png" title="use_ods_listing_page_numbers_in_file.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the options number/nonumber and pageno= have been around for quite some time. I wouldn't expect you have to do your own page numbering under most circumstances.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 22:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/358373#M18608</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-12T22:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359613#M18634</link>
      <description>&lt;P&gt;Thanks. This worked.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 11:44:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359613#M18634</guid>
      <dc:creator>ADouglas</dc:creator>
      <dc:date>2017-05-18T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359614#M18635</link>
      <description>&lt;P&gt;Thanks, but although it leads to page numbers, it doesn't provide the kind of solution I want.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 11:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359614#M18635</guid>
      <dc:creator>ADouglas</dc:creator>
      <dc:date>2017-05-18T11:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I insert a page number in my DATA step file print report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359667#M18638</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138057"&gt;@ADouglas&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks, but although it leads to page numbers, it doesn't provide the kind of solution I want.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When providing a short answer like that you may want to consider using the QUOTE button at the upper right of the message entry window so that we know which solution, question or comment you are addressing.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 14:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-page-number-in-my-DATA-step-file-print-report/m-p/359667#M18638</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-18T14:49:24Z</dc:date>
    </item>
  </channel>
</rss>

