<?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: Pls help: I got different output with headline and flow options in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768882#M170</link>
    <description>&lt;P&gt;You're using an older tutorial on newer software so you cannot expect it to align exactly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, the version you're training uses LISTING as the default output, which has not been true for over a decade. HTML is the default output now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you check the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0wy1vqwvz43uhn1g77eb5xlvzqh.htm#p0013akoqgpbtpn1jv7ffh4axinz" target="_self"&gt;FLOW option in the documentation&lt;/A&gt; it explicitly states it ONLY applies to ODS LISTING not to any other destination, so you will not see the same behaviour in your HTML files. HEADLINE has the same limitation noted in the documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see the effect, write your output to a listing file and check the file or try and find a newer tutorial that works with SAS Studio and HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing file='/home/jz127323/mydemoFile.txt';

proc reprot code goes here;



ods listing close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397218"&gt;@jz127323&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using web-based SAS Studio. When I'm running the program on the book of 'Learning SAS by Example: A Programmer's Guide, Second Edition', I have the different results. The headline and flow options seem not functionary. Can anyone advise what the problem is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_2-1632239767651.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63810i91A139404825B664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_2-1632239767651.png" alt="jz127323_2-1632239767651.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The should-be report (from the book):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_1-1632239716043.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63807i74A275D10143620F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_1-1632239716043.png" alt="jz127323_1-1632239716043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_3-1632239853192.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63816iA2D2FA10326C3E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_3-1632239853192.png" alt="jz127323_3-1632239853192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 16:22:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-09-21T16:22:04Z</dc:date>
    <item>
      <title>Pls help: I got different output with headline and flow options</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768873#M168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using web-based SAS Studio. When I'm running the program on the book of 'Learning SAS by Example: A Programmer's Guide, Second Edition', I have the different results. The headline and flow options seem not functionary. Can anyone advise what the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_2-1632239767651.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63810i91A139404825B664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_2-1632239767651.png" alt="jz127323_2-1632239767651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The should-be report (from the book):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_1-1632239716043.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63807i74A275D10143620F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_1-1632239716043.png" alt="jz127323_1-1632239716043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_3-1632239853192.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63816iA2D2FA10326C3E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_3-1632239853192.png" alt="jz127323_3-1632239853192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 16:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768873#M168</guid>
      <dc:creator>jz127323</dc:creator>
      <dc:date>2021-09-21T16:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help: I got different output with headline and flow options</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768879#M169</link>
      <description>Hi:&lt;BR /&gt;  The difference in your output is due to the fact that PROC REPORT has some options that are LISTING only options. The plain output that is shown in the book is LISTING output. Nearly all of the LISTING only options are ignored by ODS (Output Delivery System) destinations like HTML, RTF and PDF. Options like HEADLINE, HEADSKIP, FLOW, to name just a few, are NOT used by ODS. When you are using SAS Studio, the web-based editor, the default output is HTML, which is why you see differences. My guess is that you're using an older version of the book. I thought the book had been updated to show ODS output. At any rate, there's not any editor interface that produces LISTING output by default anymore. If you want to generate LISTING output, you'd need to take control of the output and generate a text file.&lt;BR /&gt;&lt;BR /&gt;ods listing file='~/mylisting.txt';&lt;BR /&gt;*** your SAS code ***;&lt;BR /&gt;ods listing close;&lt;BR /&gt;&lt;BR /&gt;But honestly, I'd skip it and get used to generating HTML, RTF or PDF output. None of my students use LISTING anymore with PROC REPORT.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 21 Sep 2021 16:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768879#M169</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-09-21T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help: I got different output with headline and flow options</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768882#M170</link>
      <description>&lt;P&gt;You're using an older tutorial on newer software so you cannot expect it to align exactly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, the version you're training uses LISTING as the default output, which has not been true for over a decade. HTML is the default output now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you check the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0wy1vqwvz43uhn1g77eb5xlvzqh.htm#p0013akoqgpbtpn1jv7ffh4axinz" target="_self"&gt;FLOW option in the documentation&lt;/A&gt; it explicitly states it ONLY applies to ODS LISTING not to any other destination, so you will not see the same behaviour in your HTML files. HEADLINE has the same limitation noted in the documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see the effect, write your output to a listing file and check the file or try and find a newer tutorial that works with SAS Studio and HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing file='/home/jz127323/mydemoFile.txt';

proc reprot code goes here;



ods listing close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397218"&gt;@jz127323&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using web-based SAS Studio. When I'm running the program on the book of 'Learning SAS by Example: A Programmer's Guide, Second Edition', I have the different results. The headline and flow options seem not functionary. Can anyone advise what the problem is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_2-1632239767651.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63810i91A139404825B664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_2-1632239767651.png" alt="jz127323_2-1632239767651.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The should-be report (from the book):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_1-1632239716043.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63807i74A275D10143620F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_1-1632239716043.png" alt="jz127323_1-1632239716043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jz127323_3-1632239853192.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63816iA2D2FA10326C3E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jz127323_3-1632239853192.png" alt="jz127323_3-1632239853192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 16:22:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768882#M170</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-21T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help: I got different output with headline and flow options</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768888#M171</link>
      <description>Hi Cynthia,&lt;BR /&gt;&lt;BR /&gt;Thank you so much!&lt;BR /&gt;&lt;BR /&gt;James</description>
      <pubDate>Tue, 21 Sep 2021 16:32:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768888#M171</guid>
      <dc:creator>jz127323</dc:creator>
      <dc:date>2021-09-21T16:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help: I got different output with headline and flow options</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768889#M172</link>
      <description>Thank you Reeza!</description>
      <pubDate>Tue, 21 Sep 2021 16:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Pls-help-I-got-different-output-with-headline-and-flow-options/m-p/768889#M172</guid>
      <dc:creator>jz127323</dc:creator>
      <dc:date>2021-09-21T16:34:24Z</dc:date>
    </item>
  </channel>
</rss>

