Author: girishb2
Subject: Reply to: SORT Block of records
Posted: Thu Sep 15, 2016 5:35 pm (GMT 5.5)
Thanks. I will try to find the posts on this forum.
Hi Pandora, Sorry for not making it clear.
Here is a example - I have a file which contains -
HDR01
hdr
Costa Rica
001
DTL
002
005
TRL
HDR02
hdr
Argentina
001
003
DTL
TRL
HDR01
hdr
Costa Rica
001
TYH
090
005
132
TRL
I need to sort the file with hdr, block of detail records & trailer as per the country names. Like for Costa Rica - I have 2 block of records which I need to extract and keep it in separate files. I need a sort card for this.
Subject: Reply to: SORT Block of records
Posted: Thu Sep 15, 2016 5:35 pm (GMT 5.5)
Thanks. I will try to find the posts on this forum.
Hi Pandora, Sorry for not making it clear.
Here is a example - I have a file which contains -
HDR01
hdr
Costa Rica
001
DTL
002
005
TRL
HDR02
hdr
Argentina
001
003
DTL
TRL
HDR01
hdr
Costa Rica
001
TYH
090
005
132
TRL
I need to sort the file with hdr, block of detail records & trailer as per the country names. Like for Costa Rica - I have 2 block of records which I need to extract and keep it in separate files. I need a sort card for this.