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

What is the difference between structured cobol programming and object alternativelyiented cobol programming?

704


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


) how do u code after getting data?

1578


What is the difference between next sentence and continue in cobol programing language?

708


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052






How can you get the ksds file records into your cobol program?

639


What is link edit in cobol?

756


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2101


Discuss about changing dataset name in proc.

757


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


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

716


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

712


HOw can I get the negative sign while deduct high value from low value

1786


What is a report item?

738


Write some characteristics of cobol as means of business language.

615