how to write cobol to sort in a table
Posted: Thu Apr 21, 2011 11:11 am
hello,
I have read the record in the file into a table , but the recrods are not in sequence on the key ,such as
01 record-table.
05 cust-mast-record occurs 500 times
ascending key is branch-number
indexed by cm-index.
10 branch-number pic 99.
10 salerep-number pic 99.
how to sort the table?
I have read the record in the file into a table , but the recrods are not in sequence on the key ,such as
01 record-table.
05 cust-mast-record occurs 500 times
ascending key is branch-number
indexed by cm-index.
10 branch-number pic 99.
10 salerep-number pic 99.
how to sort the table?