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 are decleratives in COBOL ?



What are decleratives in COBOL ?..

Answer / pavan

Declaratives provide special section that are executed when
an exceptional condition occurs. They must be grouped
together and coded at the beginning of procedure division
and the entire procedure division must be divided into
sections. The Declaratives start with a USE statement. The
entire group of declaratives is preceded by DECLARIVES and
followed by END DECLARITIVES in area A. The three types of
declaratives are Exception (when error occurs during file
handling), Debugging (to debug lines with 'D' coded in w-s
section) and Label (for EOF or beginning...) declaratives.

Is This Answer Correct ?    14 Yes 3 No

Post New Answer

More COBOL Interview Questions

How do you define a sort file in JCL that runs the COBOL program?

6 Answers   Syntel,


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


What is the difference between working storage copybook and linkage section copybook?

5 Answers   TCS,


whats the disadvantage of search all over search?

4 Answers   Patni, TCS,


What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

5 Answers   TCS,


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?

5 Answers  


Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?

6 Answers   ABC, IBM, Mphasis, Wipro,


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


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

0 Answers  


i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


Categories