English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-02-01 21:29:56 · 3 answers · asked by Prabhakar C 1 in Computers & Internet Computer Networking

3 answers

Like this ;
$ SET SOURCEFORMAT"FREE"
IDENTIFICATION DIVISION.
PROGRAM-ID. ShortestProgram.

PROCEDURE DIVISION.
DisplayPrompt.
DISPLAY "I did it".
STOP RUN.

2007-02-01 21:36:11 · answer #1 · answered by Pushpendra Singh Sisodia 6 · 0 0

These pages contain a large number of example COBOL programs. The programs may be downloaded, or viewed in your browser. Test data for the example COBOL programs is also provided where appropriate.

The programs have been compiled and tested using Microfocus NetExpress but they should work on any COBOL-85 complient compiler with very few changes.
You may have to reformat the programs if your compiler does not have the equivalent of the $ SET SOURCEFORMAT"FREE". This compiler directive frees Microfocus COBOL programs from the normal COBOL formatting conventions.
You may also have to remove the ORGANIZATION IS LINE SEQUENTIAL phrase in the SELECT and ASSIGN clause of sequential files. In Microfocus COBOL, LINE SEQUENTIAL files terminate each record with a carriage return and line feed.

2007-02-02 06:12:40 · answer #2 · answered by Don 1 · 0 0

Search for free programming tutorials on www.Google.com

2007-02-02 10:09:20 · answer #3 · answered by Human 2 · 0 0

fedest.com, questions and answers