<?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: Proc Report-BREAK AFTER statement with the SKIP option in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501343#M133662</link>
    <description>&lt;P&gt;There is a blank line after each "sex" group, but only for the "Listing" destination:&lt;/P&gt;
&lt;PRE&gt;      PROC REPORT

Sex  Name            Age
                        
F    Alice            13
     Barbara          13
     Carol            14
     Jane             12
     Janet            15
     Joyce            11
     Judy             14
     Louise           12
     Mary             15
                        
M    Alfred           14
     Henry            14
     James            12
     Jeffrey          13
     John             12
     Philip           16
     Robert           12
     Ronald           15
     Thomas           11
     William          15
&lt;/PRE&gt;
&lt;P&gt;Maxim 1: Read the documentation.&lt;/P&gt;
&lt;P&gt;From the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=proc&amp;amp;docsetTarget=p16uti3vzgml7gn1nt3ov7cqxf9i.htm&amp;amp;locale=de" target="_blank"&gt;documentation of the BREAK statement&lt;/A&gt;:&lt;/P&gt;
&lt;H4 class="xis-argument" style="box-sizing: border-box; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.1; color: #333333; margin-top: 0px; margin-bottom: 0px; font-size: 14.08px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;SKIP&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription" style="box-sizing: border-box; margin-left: 2em; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14.08px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;P class="xis-paraSimple" style="box-sizing: border-box; margin: 0.7em 0px 0px;"&gt;writes a blank line for the last break line.&lt;/P&gt;
&lt;TABLE class="xis-summary" style="box-sizing: border-box; border-spacing: 2px; border-collapse: collapse; background-color: transparent; margin: 0.2em 0px 0px; padding: 0px; font-size: 0.88rem; border: none; border-radius: 3px;"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box;"&gt;
&lt;TD class="xis-restriction" style="box-sizing: border-box; padding: 0.6em 1em 0.5em 0px; font-weight: bold; margin: 0px; background-color: transparent; vertical-align: top; color: #5d6065; border-bottom: 0px; font-size: 0.9rem; text-align: left;"&gt;Restriction&lt;/TD&gt;
&lt;TD class="xis-summaryText" style="box-sizing: border-box; padding: 0.5em 0px 0.5em 0.1em; border-bottom: 1px solid #d1d5db;"&gt;This option affects only the LISTING output. It has no affect on other ODS output.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Oct 2018 06:09:59 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-04T06:09:59Z</dc:date>
    <item>
      <title>Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501341#M133661</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In this code I am using&amp;nbsp;BREAK AFTER statement with the SKIP option in order to add a blank line&amp;nbsp; after each group of rows with the same value .&lt;/P&gt;
&lt;P&gt;I don't know why but in the output &amp;nbsp;that appears in "Results" window there id no blank line between values of age&lt;/P&gt;
&lt;P&gt;why??&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd headskip ;
column sex name age ;   
define sex / order width=3 ; 
break after sex / skip ; 
title2 'PROC REPORT' ;
run ; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 05:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501341#M133661</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-10-04T05:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501343#M133662</link>
      <description>&lt;P&gt;There is a blank line after each "sex" group, but only for the "Listing" destination:&lt;/P&gt;
&lt;PRE&gt;      PROC REPORT

Sex  Name            Age
                        
F    Alice            13
     Barbara          13
     Carol            14
     Jane             12
     Janet            15
     Joyce            11
     Judy             14
     Louise           12
     Mary             15
                        
M    Alfred           14
     Henry            14
     James            12
     Jeffrey          13
     John             12
     Philip           16
     Robert           12
     Ronald           15
     Thomas           11
     William          15
&lt;/PRE&gt;
&lt;P&gt;Maxim 1: Read the documentation.&lt;/P&gt;
&lt;P&gt;From the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=proc&amp;amp;docsetTarget=p16uti3vzgml7gn1nt3ov7cqxf9i.htm&amp;amp;locale=de" target="_blank"&gt;documentation of the BREAK statement&lt;/A&gt;:&lt;/P&gt;
&lt;H4 class="xis-argument" style="box-sizing: border-box; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.1; color: #333333; margin-top: 0px; margin-bottom: 0px; font-size: 14.08px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;SKIP&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription" style="box-sizing: border-box; margin-left: 2em; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14.08px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;P class="xis-paraSimple" style="box-sizing: border-box; margin: 0.7em 0px 0px;"&gt;writes a blank line for the last break line.&lt;/P&gt;
&lt;TABLE class="xis-summary" style="box-sizing: border-box; border-spacing: 2px; border-collapse: collapse; background-color: transparent; margin: 0.2em 0px 0px; padding: 0px; font-size: 0.88rem; border: none; border-radius: 3px;"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box;"&gt;
&lt;TD class="xis-restriction" style="box-sizing: border-box; padding: 0.6em 1em 0.5em 0px; font-weight: bold; margin: 0px; background-color: transparent; vertical-align: top; color: #5d6065; border-bottom: 0px; font-size: 0.9rem; text-align: left;"&gt;Restriction&lt;/TD&gt;
&lt;TD class="xis-summaryText" style="box-sizing: border-box; padding: 0.5em 0px 0.5em 0.1em; border-bottom: 1px solid #d1d5db;"&gt;This option affects only the LISTING output. It has no affect on other ODS output.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:09:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501343#M133662</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T06:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501344#M133663</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;2 questions please:&lt;/P&gt;
&lt;P&gt;1-May you show please how to open&amp;nbsp;&lt;SPAN&gt;"Listing" destination?(What code should I write)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2-Is there a way to create the empty line in Results window&amp;nbsp;destination? (What code should I write)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501344#M133663</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-10-04T06:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501348#M133666</link>
      <description>&lt;P&gt;Google (see Maxim 6) gave me the hont to use a compute block:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd headskip ;
column sex name age ;   
define sex / order width=3 ; 
compute after sex/style=Default;
  line "";
endcomp; 
title2 'PROC REPORT' ;
run ; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501348#M133666</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T06:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501447#M133698</link>
      <description>&lt;P&gt;Is it listing destination in your last code?&lt;/P&gt;
&lt;P&gt;How can I know that destination of out put is "listing"?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd headskip ;
column sex name age ;   
define sex / order width=3 ;
 
compute after sex/style=Default;
  line "";
endcomp; 

run ;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501447#M133698</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-10-04T12:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-BREAK AFTER statement with the SKIP option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501449#M133699</link>
      <description>&lt;P&gt;The line statement in the compute block works in all destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which ODS destination is active is controlled by your code, either by code you write, or by code that is sent from EG according to the options set in Tools - Options - Results. Look into the log, and you'll see the ODS statements:&lt;/P&gt;
&lt;PRE&gt;14         ODS LISTING GPATH=&amp;amp;sasworklocation;
15         FILENAME EGSR TEMP;
16         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
17             STYLE=Default
18             STYLESHEET=(URL="file:///C:/Program%20Files%20(x86)/SASHome/x86/SASEnterpriseGuide/7.1/Styles/Default.css")
19             NOGTITLE
20             NOGFOOTNOTE
21             GPATH=&amp;amp;sasworklocation
22             ENCODING=UTF8
23             options(rolap="on")
24         ;
&lt;/PRE&gt;
&lt;P&gt;is the log from code sent from EG when SAS Report and Listing destinations are active in the EG settings.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-BREAK-AFTER-statement-with-the-SKIP-option/m-p/501449#M133699</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T12:54:29Z</dc:date>
    </item>
  </channel>
</rss>

