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
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
what is the use of outrecord?
What is cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Why did you choose to work with ibm mainframe cobol programming?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is Pic 9v99 Indicates in COBOL?
What is the problem of ordered sequential files access?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are declaratives and what are their uses in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Why would you use find and get rather than to obtain?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly