supra94red
Programmer
Hi was wondering if anyone has a COBOL algorithm handy
that would perform a keycount on a specified field.
For example, lets say I wanted a keycount on a state
field in a sequential file of 1 million records and
I want it to return a report that looks something like
the following:
State Count
------ --------
IL 50,000
CA 500,000
WI 50,000
MA 100,000
OR 300,000
Total: 1,000,000
that would perform a keycount on a specified field.
For example, lets say I wanted a keycount on a state
field in a sequential file of 1 million records and
I want it to return a report that looks something like
the following:
State Count
------ --------
IL 50,000
CA 500,000
WI 50,000
MA 100,000
OR 300,000
Total: 1,000,000