COBOL Bubble sort on linux

Here’s a sample COBOL bubble sort program for linux. You can simply save the source (.cbl file) on your computer then compile and link the code to an executable with the following command. sudo cobc -free -x -o sort sort.cbl IDENTIFICATION DIVISION. PROGRAM-ID. SORT. DATA DIVISION. WORKING-STORAGE SECTION. 01 ARR OCCURS 5 TIMES PIC S9(2)….

Read More