What divisions, sections and paragraphs are mandatory for a
COBOL program?

Answer Posted / sharath

ID division.

Procedure Division

Above 2 divisions are mandatory

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between search & search ALL?

5264


What are the different data types in cobol?

795


What is amode(24)?

683


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1806


Write a program to explain size error.

677






how do you reference the variable unblock file formats from cobol programs

748


Give some examples of command terminators?

758


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

896


Name the sections present in data division.

701


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

700


What are the different rules for performing sort operation?

761


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


) How do u handle errors in BMS macro?

1427


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


How many sections are there in data division in COBOL?

678