IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sorting a file with multiple headers and trailers


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akashs

New User


Joined: 24 Nov 2005
Posts: 49
Location: chennai

PostPosted: Fri Nov 06, 2009 3:14 pm
Reply with quote

Hi,

I have a input file of 3 million records.This file has multiple headers and trailers.I need to sort the detailed records alone keeping headers and trailers in same place.Please suggest me a solution.

regards,
Akash
Back to top
View user's profile Send private message
akashs

New User


Joined: 24 Nov 2005
Posts: 49
Location: chennai

PostPosted: Fri Nov 06, 2009 3:17 pm
Reply with quote

Hi,

To add to my previous query,the headers starts with 202203 and trailer starts with 202204 and this file is of variable length 2472 bytes.

regards,
akash
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Nov 06, 2009 10:24 pm
Reply with quote

You can use the DATASORT operator of DFSORT's ICETOOL to do that quite easily. For complete documentation on DATASORT, see:

www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000085

Or search for DATASORT on this board.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top