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 amode(24), amode(31), rmode(24) and rmode(any)?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are the different open modes available in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Differentiate between structured cobol programming and object-oriented cobol programming.
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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you get the data to code the BMS macro?
how do you define single dimensional array and multidimensional array in your cobol?
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between comp and comp-3 usage?
Have you used comp and comp-3 in your project? And how?
What are different data types in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
) what is the difference between AID and HANDLE AID?