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

Answer Posted / where the way begins

IDENTIFICATION dIVISION AND PROGRAM id ARE MANDATORY

Is This Answer Correct ?    31 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can characterize tables in cobol?

716


Write a program to explain size error.

675


Can we redefine the field of x(200) to less than 200?

818


A table has two indexes defined. Which one will be used by the SEARCH?

757


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

708






What the difference is between continue and next sentence?

658


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17034


What is amode(31)

722


How do get the result of your program directly on your pc?

1880


how do you define single dimensional array and multidimensional array in your cobol?

674


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1871


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?

1804


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.

5061


Define cobol?

860


What are the different data types in cobol?

793