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
Write down the divisions of cobol program?
HOw can I get the negative sign while deduct high value from low value
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are literals?
What is comp-1 and comp-2?
A table has two indexes defined. Which one will be used by the SEARCH?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are the various section in data division and briefly explain them.
Discuss about changing dataset name in proc.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the difference between external and global variables in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Why occurs cannot be used in 01 level in COBOL?
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)?