Author: akodakka
Subject: DFSORT sorting only specific records
Posted: Thu Aug 04, 2016 11:24 am (GMT 5.5)
Hi ,
I have a file like this,
HDR9999
DET0009
DET0001
DET0003
TRL0000
I want to sort only records , 2,3,4 ( keeping my header and trailer rec as it is )and want to get result as below sort condition is (4,4,CH,A)
HDR9999
DET0001
DET0003
DET0009
TRL0000
Could anyone suggest how we can do this using DFSORT
[/b]
_________________
GODS ARE NOT HAPPY
Subject: DFSORT sorting only specific records
Posted: Thu Aug 04, 2016 11:24 am (GMT 5.5)
Hi ,
I have a file like this,
HDR9999
DET0009
DET0001
DET0003
TRL0000
I want to sort only records , 2,3,4 ( keeping my header and trailer rec as it is )and want to get result as below sort condition is (4,4,CH,A)
HDR9999
DET0001
DET0003
DET0009
TRL0000
Could anyone suggest how we can do this using DFSORT
[/b]
_________________
GODS ARE NOT HAPPY