Page 1 of 1

is it possible to skip a section trailer on next page?

PostPosted: Tue Aug 02, 2011 4:57 pm
by lostcontinent
hi to all,
I want to create a report with headers/trailers for each section so that i get an additional page for each section trailer (so the trailer is skipped to the next page). Is this possible?
Example:

<report header page>
.<section header page>
..<data pages(s)>
.<section trailer page>
.<section header page>
..<data page(s)>
.<section trailer page>
.<section header page>
..<data page(s)>
.<section trailer page>
<report trailer page>

Or do I have to put out additional 'carriage control characters' and then remove the 'original' carriage control characters in another sort step?

thanks a lot in advance,
frank

Re: is it possible to skip a section trailer on next page?

PostPosted: Tue Aug 02, 2011 9:20 pm
by skolusu
Lostcontinent,

Do you just need the trailer to be on a new page ?

Did you try SKIP=P on the sections statement? It would be helpful if you had shown a sample output along with the DCB properties of the input file.

Check this link for Using SKIP on Sections

Re: is it possible to skip a section trailer on next page?

PostPosted: Wed Aug 03, 2011 2:43 pm
by lostcontinent
hi skolusu,
according to the manual, SKIP=P is for sections, and this works as it should (the header is skipped to the next page).
I want the trailer also being skipped to the next page

  ** SUM GROUP E           2244 EUR                             
                                                                       
  ** Total                        2244 EUR                             
                                                                       
  **********************************************************************
  *****                                                                 
  *****              ENDE GS 70/041  (trailer3)
  *****                                                                 
  **********************************************************************
                                                                       
1 **********************************************************************
  *****                                                                 
  *****              BEGINN GS 70/170  (header3)
  *****                                                                 
  **********************************************************************
                                                                       
                                                                       
0                                                                       
  text                DATE  03.08.2011
                                                                       
  texttext
0                                                                       


so the block

  **********************************************************************
  *****                                                                 
  *****              ENDE GS 70/041  (trailer3)                     
  *****                                                                 
  **********************************************************************



(trailer) ist skipped to the next page
Input File is FB.

frank

Re: is it possible to skip a section trailer on next page?

PostPosted: Wed Aug 03, 2011 11:13 pm
by Frank Yaeger
Please post the DFSORT control statements you're using.