COBOL Interview Questions and Answers

COBOL Interview Questions and Answers

Below, frequently asked Top COBOL Interview Questions and Answers for freshers and experienced.

What do you know about COBOL?

What is 77 level used for?

What is 88 level used for?

What is 66 level used for?

What is PIC 9.99?

What is the maximum value that can be stored in S9(8) COMP?

What are the different data types in COBOL?

What is the difference between a subscript and an index in programming?

What is the difference between a static call and a dynamic call in programming?

What is the difference between the CONTINUE statement and the NEXT SENTENCE statement in programming?

What is the difference between structured COBOL programming and object-oriented COBOL programming?

What is the purpose of the LOCAL-STORAGE section in COBOL?

What is file status 92?

What is file status 39?

What is the purpose of the INPUT PROCEDURE and OUTPUT PROCEDURE in COBOL?

What are the file opening modes in COBOL?

What is the difference between SEARCH and SEARCH ALL?

What is the difference between static linking and dynamic linking in programming?

What is the purpose of the EVALUATE statement in programming?

What is the purpose of the REPLACING option in the COPY statement?

What type of error is caught by the ON SIZE ERROR option in programming?

Which divisions and paragraphs are required in a COBOL program?

What is the difference between global variables and external variables in COBOL?

What does the PIC 9V99 notation indicate in COBOL?

What are the guidelines for writing a structured COBOL program?

What are the divisions of a COBOL program?

What is the difference between COMP-1 and COMP-2 ?

Could you please provide me with information about the different rules to perform a SEARCH?

Could you please provide me with information about the different rules for the SORT operation in COBOL?

What is REDEFINES?

Why is it necessary to open a file in I-O (Input-Output) mode for the REWRITE operation in COBOL?

When is INSPECT verb is used in COBOL?

How many sections are there in the Data Division of COBOL?

How to display COMP-3 variable in Cobol?

What is the difference between a CALL statement and a LINK statement in COBOL?

What is the Difference between GOBACK, STOP RUN and EXIT PROGRAM in COBOL?

COBOL Interview Questions for Experienced Candidates

What are the different ways to handle date arithmetic in COBOL?

Can you Explain the differences between CALL and LINK statements in COBOL?

How can you handle file status codes in COBOL programs?

What is the purpose of the REDEFINES clause in COBOL, and how is it used?

How do you handle decimal arithmetic in COBOL, and what are the considerations for precision and scale?

Can you explain the differences between static and dynamic linking in COBOL?

What is the significance of the INITIALIZE verb in COBOL, and how is it used?

How do you handle exceptions and abnormal termination in COBOL programs?

Explain the concept of file organization in COBOL, such as sequential, indexed, and relative?

How can you handle table processing in COBOL, including search and sort operations?

What are the differences between level numbers 66 and 88 in COBOL?

Can you explain the purpose and usage of the INSPECT verb in COBOL?

How can you handle sequential and indexed file processing in COBOL?

What is the difference between CALL and CICS commands in COBOL programs?

Can you explain the differences between USING and GIVING phrases in COBOL programs?