+ 1
This is the first time I examined a COBOL program, so I might miss a detail or two. In summary it seems apparent that the program defines the input record format of a text file named "input.txt" to be read sequentially. The file has two fixed-length columns: STUDENT-ID (5 numeric chars) and NAME (25 alphabetic chars). Both fields are to be read into working storage and displayed to the output until the end of the file is reached. Then the input file is closed and the program is terminated.
18th Nov 2020, 6:51 PM
Brian
Brian - avatar