Created
September 6, 2021 19:14
-
-
Save CallMeZhou/8b30bdd016874a9c4efa6ebd56e90868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Manditory division - Identify the program | |
IDENTIFICATION DIVISION. | |
PROGRAM-ID. HELLOCBL. | |
* Optional division - Define they source computer and the | |
* target/build computer | |
ENVIRONMENT DIVISION. | |
CONFIGURATION SECTION. | |
SOURCE-COMPUTER. ZOS. | |
OBJECT-COMPUTER. ZOS. | |
* Optional division - define working variables, etc. | |
DATA DIVISION. | |
WORKING-STORAGE SECTION. | |
* Mandatory divison - the actual program/logic | |
PROCEDURE DIVISION. | |
MAIN-PARA. | |
* Print hello world | |
DISPLAY "Hello, World!". | |
* End the program | |
STOP RUN. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment