Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us