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
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do you reference the fixed block file formats from cobol programs
In which area will you utilize 88 level items in cobol?
What is the problem of ordered sequential files access?
What is a report item?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Can a Search can be done on a table with or without Index?
What is rmode(24)
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain how to differentiate call by context by comparing it to other calls?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Whats the difference between search & search ALL?