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 Data replication from multiple Db2 ta... kishpra DB2 1 Mon Mar 27, 2017 9:58 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:59 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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