Pacta COBOL Compiler

Retour à l'article

hellopacta.cbl
COBOL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
       ******************************************************************
       * Author:  Alain Stevens - Pacta Cobol Network     *
       * Date:    07/04/2025   *
       * Purpose:  Demo Display     *
       * File: Hello Pacta Cobol       *
       ******************************************************************
        
        IDENTIFICATION DIVISION.
        PROGRAM-ID. YOUR-PROGRAM-NAME.
        
        DATA DIVISION.
        FILE SECTION.
        WORKING-STORAGE SECTION.
        
        PROCEDURE DIVISION.
        MAIN-PROCEDURE.
             DISPLAY "Hello Pacta Cobol !"
             STOP RUN.
        END PROGRAM YOUR-PROGRAM-NAME.
Terminal
OUTPUT

No output yet. Click "Execute" to compile and run the program.