COBOL Intermediate Interview Questions
  1. What is the difference between static and dynamic call in COBOL?
  2. How do you define a table in COBOL?
  3. What is the difference between SEARCH and SEARCH ALL in COBOL?
  4. What is the difference between READ and READ NEXT in COBOL?
  5. What is the difference between an array and a table in COBOL?
  6. What is the difference between CALL and LINK in COBOL?
  7. What is the difference between a sequential and a relative file in COBOL?
  8. What is the difference between a read-only and a read-write file in COBOL?
  9. What is the use of the ACCEPT statement in COBOL, and what are the possible options for input data validation?
  10. How do you declare and use a data structure in COBOL, and what is its purpose?
  11. How do you work with external files in COBOL, and what are the different types of file organizations available?
  12. What is the use of the COMPUTE statement in COBOL, and how is it different from the MOVE and ADD statements?
  13. How do you handle character string manipulation in COBOL, and what are the different string manipulation verbs available?
  14. What is the use of the PERFORM VARYING statement in COBOL, and how can it be used to implement loops with variable counters?
  15. How do you handle table processing in COBOL, and what are the different table manipulation verbs available?
  16. How do you use the EVALUATE statement in COBOL, and what are the different types of conditions that can be evaluated?
  17. How do you declare and use subprograms in COBOL, and what is the difference between a called and calling program?
  18. What is the use of the LINKAGE SECTION in COBOL, and how can it be used to share data between subprograms?
  19. How do you handle exception conditions in COBOL, and what are the different types of error-handling verbs available?
  20. How do you use the INSPECT statement in COBOL, and what are the different types of pattern matching and data manipulation options available?
  21. What is the use of the COPY statement in COBOL, and how can it be used to modularize and reuse code?
  22. How do you work with date and time values in COBOL, and what are the different data types and manipulation options available?
  23. What is the use of the REDEFINES clause in COBOL, and how can it be used to share data between different data types?
  24. How do you use the GIVING clause in COBOL, and what is its purpose?
  25. What is the use of the SORT statement in COBOL, and how can it be used to sort data in memory and on disk?
  26. How do you use the STRING statement in COBOL, and what are the different options available for string concatenation?
  27. What is the use of the SET statement in COBOL, and how can it be used to manipulate flags and status variables?
  28. How do you use the DISPLAY statement in COBOL, and what are the different formatting and alignment options available?
COBOL Interview Questions For Experienced
  1. What is the use of the PERFORM WITH TEST AFTER statement in COBOL?
  2. How do you use the SET ENVIRONMENT statement in COBOL?
  3. What is the use of the XML PARSE?
  4. What is the difference between static and dynamic memory allocation in COBOL?
  5. What is the difference between a transient and a persistent data queue in CICS?
  6. What is the use of the COPYBOOK statement in COBOL, and how can it be used to include external files and libraries?
  7. How do you work with database files in COBOL, and what are the different database access methods available?
  8. How do you use the SEARCH and SEARCH ALL statements in COBOL, and what are the different search options available?
  9. What is the use of the EXIT statement in COBOL, and how can it be used to terminate programs and subprograms?
  10. How do you use the SET ENVIRONMENT statement in COBOL, and what are the different options available for environment manipulation?
  11. What is the use of the ADDRESS OF and CONTENTS OF operators in COBOL, and how can they be used for pointer manipulation?
  12. How do you work with relative and indexed files in COBOL, and what are the different file access methods available?
  13. How do you use the READ UPDATE and WRITE UPDATE statements in COBOL, and what are the different locking and synchronization options available?
  14. What is the use of the PERFORM UNTIL statement in COBOL, and how is it different from the PERFORM VARYING statement?
  15. How do you use the XML GENERATE statement in COBOL, and what are the different options available for generating XML documents?
  16. How do you use the PERFORM WITH TEST BEFORE statement in COBOL, and what is its purpose?
  17. What is the use of the EVALUATE TRUE statement in COBOL, and how can it be used to implement complex conditional logic?
  18. How do you use the EXEC SQL statement in COBOL, and what are the different options available for embedded SQL processing?
  19. What is the use of the POINTER and VALUE OF operators in COBOL, and how can they be used for dynamic memory allocation and pointer manipulation?
  20. How do you use the HANDLE CONDITION statement in COBOL, and what are the different options available for exception handling?
  21. What is the use of the GOTO statement in COBOL, and how can it be used to implement non-structured programming constructs?
  22. How do you work with bit-level data in COBOL, and what are the different options available for bitwise operations and bit fields?
  23. What is the use of the PACKED-DECIMAL and COMPUTATIONAL data types in COBOL, and how are they different from other data types?
  24. How do you use the ACCEPT FROM and DISPLAY TO statements in COBOL, and what are the different options available for input and output redirection?