Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sorting multiple detail records at a single step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Rajesh A R

New User


Joined: 08 Aug 2007
Posts: 1
Location: INDIA-CHENNAI

PostPosted: Tue Aug 21, 2007 4:45 pm    Post subject: Sorting multiple detail records at a single step
Reply with quote

Hi I need to sort only the detailed records and Header and Trailer records must be kept as it is. Please let me know how to proceed with problem.
My input looks as shown below.


I/p
H header record
D Detail record 3
D Detail record 4
D Detail record 7
D Detail record 6
D Detail record 1
T Trailer record
H header record
D Detail record 5
D Detail record 4
D Detail record 7
D Detail record 2
D Detail record 1
T Trailer record
H header record
D Detail record 8
D Detail record 3
D Detail record 7
D Detail record 9
D Detail record 1
T Trailer record

O/p

H header record
D Detail record 1
D Detail record 3
D Detail record 4
D Detail record 6
D Detail record 7
T Trailer record
H header record
D Detail record 1
D Detail record 2
D Detail record 4
D Detail record 5
D Detail record 7
T Trailer record
H header record
D Detail record 1
D Detail record 3
D Detail record 7
D Detail record 8
D Detail record 9
T Trailer record

Please suggest me a solution
Rajesh
Back to top
View user's profile Send private message

ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Tue Aug 21, 2007 6:40 pm    Post subject:
Reply with quote

Hi Rajesh,

You can go thru this topic.

http://ibmmainframes.com/viewtopic.php?t=6614&highlight=detail+sort

--Parag
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us