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 is file status 39 ?

10 Answers   JPMorgan Chase,


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

0 Answers  


What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....

3 Answers   IBM,


wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

2 Answers   EDS,






What is binary search?

3 Answers  


how do you reference the variable unblock file formats from cobol programs

0 Answers  


hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?

1 Answers   CGI,


WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,


Categories