What divisions, sections and paragraphs are mandatory for a
COBOL program?

Answer Posted / guest

As you said giving IDENTIFICATION DIVISION & PROGRAM-ID is
mandatory in a normal cobol program. This is important for
a program to get compiled. But if you try executing the
program with these two statements alone, you will get SOC4
abend as your program tries to access a storage location to
which it was not authorized.

For a program to run successfully, all the 4 divisions and
the program-id paragraph are mandatory.

Is This Answer Correct ?    4 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

720


What is difference between static and dynamic call in cobol?

777


What is the difference between PIC 9.99 and PIC9v99?

781


Name the divisions, which are available in a cobol program?

685


what is search and searchall?what is the diffrence between them?give an best example?

5558






Name some of the examples of COBOl 11?

2685


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2658


A table has two indexes defined. Which one will be used by the SEARCH?

757


how to access the file from prodution from changeman tool and to submit a file to production

6686


What is the difference between structured cobol programming and object alternativelyiented cobol?

754


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

997


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

742


Can we redefine the field of x(200) to less than 200?

818


What are various search techniques in cobol? Explain.

648


Whats the difference between search & search ALL?

5264