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



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

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

Postby lostcontinent » Tue Aug 02, 2011 4:57 pm

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
lostcontinent
 
Posts: 13
Joined: Tue Jul 27, 2010 1:47 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby skolusu » Tue Aug 02, 2011 9:20 pm

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
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
skolusu
 
Posts: 586
Joined: Wed Apr 02, 2008 10:38 pm
Has thanked: 0 time
Been thanked: 39 times

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

Postby lostcontinent » Wed Aug 03, 2011 2:43 pm

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
lostcontinent
 
Posts: 13
Joined: Tue Jul 27, 2010 1:47 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby Frank Yaeger » Wed Aug 03, 2011 11:13 pm

Please post the DFSORT control statements you're using.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post