Skip to Content
Custom Search

COBOL smallest program

Smallest Program in COBOL

 

PROGRAM

IDENTIFICATION DIVISION.                                         
PROGRAM-ID. PGM000.                                              
PROCEDURE DIVISION.                                              
    DISPLAY 'SMALLEST PROGRAM BY MAINFRAMEWIZARD '               
    STOP RUN.                                                    

; ; ; ;

OUTPUT



SMALLEST PROGRAM BY MAINFRAMEWIZARD                                                                               

 

Back to COBOL EXAMPLES

COBOL Books on Amazon.com

Comments

Techincally, you only need

Techincally, you only need the first two lines of this program to get a successfull compile; i.e., the shortest COBOL program is only two lines. Of course, you wont see any output when you run it ;)

About Website

Hi vikasji, really this site is too informative. I havnt explore it even 50 percent yet but gradually trying to learn things from this whenever get time.

Comment on Website-

Each time we click on any link we have to scroll down to see the result. Make it in such way that we need not to scroll down... Actually you know that in office I could not scrool thru mouse and also at home in my laptop it is difficult to scroll.. :)

Post new comment

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 1 user and 25 guests online.

Online users

  • segryfildamniel
Dr. Radut | page