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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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