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?

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 is the difference between PIC 9.99 and 9v99 in COBOL?

1332


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1566


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1252


) How do u handle errors in BMS macro

2050


What is the difference between binary search and sequential search?

1089


how do you reference the esds vsam file formats from cobol programs

1216


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

1241


i need a small 3d program using inline and outline.

2210


What are the various section in data division and briefly explain them.

1178


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5373


What is the difference between Call and a Link?

1195


What are the different rules of SORT operation?

1140


What is the difference between comp and comp-3 usage?

1200


how do you reference the ksds vsam file formats from cobol programs

1188


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1117