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
Whats the difference between search & search ALL?
What are the different data types in cobol?
What is amode(24)?
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?
Write a program to explain size error.
how do you reference the variable unblock file formats from cobol programs
Give some examples of command terminators?
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?
Name the sections present in data division.
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?
What are the different rules for performing sort operation?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
) How do u handle errors in BMS macro?
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?
How many sections are there in data division in COBOL?