Author: anatol
Subject: abend sort based on count records in group
Posted: Mon Oct 17, 2016 10:10 pm (GMT 5.5)
Hi,
I have file ( need just idea, so let it FB=80):
group is in position 1-6.
Is it possible to abend sort if records in any group is more than 7 ... Based on the file in example - abend, because group 111111 have more than 7 records
Subject: abend sort based on count records in group
Posted: Mon Oct 17, 2016 10:10 pm (GMT 5.5)
Hi,
I have file ( need just idea, so let it FB=80):
Code: |
111111 111111 111111 111111 111111 111111 111111 111111 111111 111111 222222 222222 222222 222222 222222 222222 |
group is in position 1-6.
Is it possible to abend sort if records in any group is more than 7 ... Based on the file in example - abend, because group 111111 have more than 7 records