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

Answers were Sorted based on User's Feedback



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

Answer / where the way begins

IDENTIFICATION dIVISION AND PROGRAM id ARE MANDATORY

Is This Answer Correct ?    31 Yes 2 No

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

Answer / avinanda mukherjee

IDENTIFICATION DIVISION AND PROGRAM ID IS MANDATORY..

Is This Answer Correct ?    19 Yes 2 No

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

Answer / guest_1

In order to compile and run a COBOL program under MVS,

ID DIVISION.
PROGRAM-ID. DUMMY.

are more than enough.

Is This Answer Correct ?    15 Yes 2 No

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

Answer / hari

Id division.
Program-id. pgmname.
Procedure division.
STOP RUN.

Is This Answer Correct ?    11 Yes 9 No

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

Answer / sanj

IDENTIFIACTION DIVISION.
PROGRAM ID. DUMMY.

compiles successfully and returns MAXCC = 0.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / sharath

ID division.

Procedure Division

Above 2 divisions are mandatory

Is This Answer Correct ?    4 Yes 10 No

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

Answer / 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

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

Answer / elite group

Identification, Data Divison & procedure division.

If any files are there file-section. working storage section

Is This Answer Correct ?    4 Yes 19 No

Post New Answer

More COBOL Interview Questions

What are some examples of command terminators?

1 Answers  


How do u write test cases?

0 Answers   IBM,


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  






how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)

6 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


How do you come out of an EVALUATE statement?

3 Answers  


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


State the various causes of s0c1, s0c5 and s0c7.

0 Answers  


how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


Categories