MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Syncsort - Header on every page of report

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
vallabhaneni
Beginner


Joined: 26 Dec 2002
Posts: 23
Topics: 7

PostPosted: Mon Jan 20, 2003 4:20 pm    Post subject: Syncsort - Header on every page of report Reply with quote

Hi All,

I have file length of 300(10 fields) but I want to show only 35 legth (only 3 feilds).and I need headings for them then i used syncsort for get the fields and I put heading for each filed,It is working but it is getting only top of the data it not coming for every page .We may getr for every page or not?.

Here I am giving my code

Code:

//SYSOUT    DD SYSOUT=*                                 
//SORTIN    DD DSN=MMITMMO.PMEF9500.G0004V00,DISP=SHR   
//SORTOF1   DD SYSOUT=*                                 
//SYSIN DD *
  INREC FIELDS=(1:1,8,                                   
              9:9,19,                                 
             29:29,10)                                 
  SORT FIELDS=COPY                                       
  OUTFIL FILES=1,                                       
       HEADER1=(1:'DATE ',&DATE,                       
               40:'PAGE ',&PAGE,2/,                   
               27:'AIDS WAIVER RECIPIENTS',/,         
                1:'EMPLOYEE DCN',                     
               20:'LNAME',                             
               50:'FNAME',/),                         
       LINES=55,                                       
       OUTREC=(2:1,8,                                 
              20:9,19,                                 
              50:29,10)                               


Thanks
Vallabhaneni
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon Jan 20, 2003 4:46 pm    Post subject: Reply with quote

For Syncsort, as for DFSORT, HEADER1 produces a title page (one "heading" for the report - the "heading" can consist of multiple lines). HEADER2 produces a "heading" at the top of each page (one "heading" per page). Change HEADER1 to HEADER2 and you should get what you want.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vallabhaneni
Beginner


Joined: 26 Dec 2002
Posts: 23
Topics: 7

PostPosted: Mon Jan 20, 2003 5:54 pm    Post subject: Reply with quote

Thank you very much man
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group