Sorts the student masterfile (sorted on ascending Student Id) and produces a new file, sorted on ascending student name, containing only the records of male students.
To test the program download Students.Dat
Demo & Full Guide
COBOL Program to sort a masterfile and produce a new file with example COBOL Program COBOL example program