Thanks for coming to ITKE. This seems like a homework question. What have you tried so far, and what problem are you having that we can help you with?
For examples, look in the Information Center first. The COBOL Programmers Guide has Examples of Processing DISK and DATABASE Files. This site would be used if you run into problems trying to make a program work. — Tom