Buy your COBOL t-shirt here... (opens in a new window)

|   HOME   |    COBOL basics   |    The Four Divisions   |    Defining Data Part 1   |    Defining Data Part 2   |    Commands and logic   |    File handling   |    Debugging COBOL   |

6. Commands and Logic

                 6.1 ACCEPT and DISPLAY
                 6.2 MOVE
                 6.3 PERFORM
                 6.4 IF..THEN..ELSE
                 6.5 Conditions
                 6.6 EVALUATE
                 6.7 Arithmetic
                 6.8 Strings
                 6.9 WRITE
                 6.10 Scope Terminators




Many of the commands described in this section have already been used in earlier sections but here their description will be shown alongside related commands, clauses and verbs. It should be noted that a command probably is a verb, while a clause is a collection of COBOL words without a verb...something like that...




1. Getting started 7. File handling
2. COBOL basics 8. Debugging COBOL
3. The Four Divisions 9. Useful links
4. Defining Data Part 1 10. Sample Code
5. Defining Data Part 2 11. Feedback
6. Commands and logic 12. Quick reference
   Awards    HOME
Copyright Timothy R P Brown 2002