From 3e8f5ba47d2ddce3de052419de40162ee039deef Mon Sep 17 00:00:00 2001 From: Aaron Muir Hamilton Date: Thu, 14 Jul 2016 18:20:44 -0400 Subject: [PATCH] Make cobol.cbl a well-formed COBOL program. - Start statements after seven columns. - Use lowercase, as it is less hideous. - Terminate `display` properly with `end-display`. - Make the `program-id` field match the file name. --- c/cobol.cbl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/c/cobol.cbl b/c/cobol.cbl index b0eb2c2c..0fa42922 100644 --- a/c/cobol.cbl +++ b/c/cobol.cbl @@ -1,6 +1,6 @@ -IDENTIFICATION DIVISION. -PROGRAM-ID. HELLOWORLD. -PROCEDURE DIVISION. -MAIN. - DISPLAY 'Hello, world.'. - STOP RUN. + identification division. + program-id. cobol. + procedure division. + main. + display 'Hello, world.' end-display. + stop run.