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
Can a Search can be done on a table with or without Index?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to remove 2 duplicate records and copy only one using job control language?
what is the difference between COBOL2 AND COBOL390?
What type of SDLC u followed? Why?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
) How do u handle errors in BMS macro
How to know whether the module is dynamical or statistical?
What are the cobol coding sheets?
how do you reference the variable block file formats from cobol programs
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How do u write test cases?