What are decleratives in COBOL ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do get the result of your program directly on your pc?

1868


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1891


Discuss about changing dataset name in proc.

751


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

674


example for sub strings ? and refernce modifications whit output pls

1829






Mention the guidelines to write a structured cobol program?

601


What is cobol?

729


How arrays can be defined in COBOL?

651


Whats the difference between search & search ALL?

5226


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8584


How you can read the file from bottom?

650


Write the code implementing the perform … varying.

628


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

694


Name the divisions, which are available in a cobol program?

672


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

804