Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the different data types in cobol?

0 Answers  


What is the maximum length of a field you can define using COMP-3?

4 Answers   Complex System, Infosys,


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


Whats the difference between search & search ALL?

3 Answers   IBM,


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


how to resolve the file status 47.......

1 Answers   MMM,


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


whats the difference between search and search all?

4 Answers   Patni,


How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,


Categories