COBOL Interview Questions

  1. What does EXIT do?
  2. What is COMP SYNC?
  3. What is file status 39?
  4. What is binary search?
  5. What is 77 level used for?
  6. What is 88 level used for?
  7. What is level 66 used for?
  8. What is COMP-1? COMP-2?
  9. How is sign stored in a COMP field?
  10. How is sign stored in a comp-3 field?
  11. What does passing BY VALUE mean?
  12. What is an explicit scope terminator?
  13. When would you use in-line perform?
  14. Why cannot Occurs be used in 01 level?
  15. What do you do to resolve SOC-7 error?
  16. When is a scope terminator mandatory?
  17. Name the divisions in a COBOL program?
  18. What is the use of EVALUATE statement?
  19. What is a scope terminator? Give examples.
  20. How do you define a table/array in COBOL?
  21. What does the IS NUMERIC clause establish?
  22. What is the function of a delimiter in STRING?
  23. How many dimensions are allowed for a table?
  24. What is the difference between COMP & COMP-3?
  25. How many bytes will a S9 (8) COMP field occupy?
  26. How do you define a variable of COMP-1? COMP-2?
  27. What should be the sorting order for SEARCH ALL?
  28. How do you come out of an EVALUATE statement?
  29. What is the difference between index and subscript?
  30. How many bytes does a S9 (7) COMP-3 field occupy?
  31. What are the different data types available in COBOL?
  32. What are the possible causes for S0C1 & S0C4 abends?
  33. What are the different forms of EVALUATE statement?
  34. What is the difference between SEARCH and SEARCH ALL?
  35. What is the maximum value that can be stored in S9 (8) COMP?
  36. What is the difference between CONTINUE & NEXT SENTENCE?
  37. How do you define a sort file in JCL that runs the COBOL program?
  38. How many bytes does a S9 (7) SIGN TRAILING SEPARATE field occupy?
  39. How will you count the number of characters in a null-terminated string?
  40. What are the steps you go through while creating a COBOL program executable?