how to display headers in each page using SORT utility



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

how to display headers in each page using SORT utility

Postby shankarhosur » Sat Nov 20, 2010 12:34 am

how to display headers in each page using the SORT. below is the code. the code is working fine but only thing is it is not displying the headers in page

SORT FIELDS=(1,132,CH,A)
SUM FIELDS=NONE
INCLUDE COND=(34,1,CH,EQ,C'Y')
OUTFIL FNAMES=SORTOUT,
HEADER1=(2:6C'-',10:8C'-',21:9C'-',34:9C'-',/,
3:C'PLAN',10:C'SUB-PLAN',24:C'SSN',34:C'TERM-DATE'),
HEADER2=(2:6C'-',10:8C'-',21:9C'-',34:9C'-'),
LINES=25,
OUTREC=(2:2,6,11:10,6,21:18,9,34:78,8,39C' ')
shankarhosur
 
Posts: 10
Joined: Sat Oct 16, 2010 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to display headers in each page using SORT utility

 

Re: how to display headers in each page using SORT utility

Postby dick scherrer » Sat Nov 20, 2010 1:22 am

Hello,

Why has this been posted in the Suggestions & Feedback part of the forum?

Which sort product is used on your system? Post the informational messages from any sort execution including the message ids.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how to display headers in each page using SORT utility

Postby Frank Yaeger » Sat Nov 20, 2010 2:19 am

HEADER1 is the report header - it is only printed once. HEADER2 is the page header - it is printed at the top of every page. If you want the titles you show in HEADER1 printed on every page, you have to put them in HEADER2, not HEADER1.
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: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post