COBOL: How to Write INPUT and OUTPUT Procedures

COBOL Return and Release to sort the input data