COBOL interview questions – page 2

208 questions. Tap “Show answer” to check yourself.

Advertisement
  1. How do you reference the following file formats from COBOL programs:

  2. How is sign stored in a comp-3 field?

  3. When is a scope terminator mandatory?

  4. What is the difference between Working-storage Section & Linkage Section?

  5. How do you define a sort file in JCL that runs the COBOL program?

  6. What is the meaning of 'TALLING' verb in cobol?

  7. Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

  8. What is a bind?

  9. What are the functions like c/c++ in cobol?

  10. What is te difference between Call and Link in cobol?

  11. Can you call an OS VS COBOL program from a VS COBOL II program?

  12. What is the difference between SEARCH and SEARCH ALL?

  13. Advertisement
  14. What is the point of the REPLACING option of a copy statement?

  15. What is the meaning of 'Eject' verb in cobol?

  16. Explain call by context by comparing it to other calls.

  17. What is the use of EVALUATE statement?

  18. How can you pass values from COBOL program to non-COBOL programs

  19. What is the default value(s) for an INITIALIZE and what keyword allows for an override of the default.

  20. What does EXIT do?

  21. Can Redefines clause be used at 01 level ?

  22. In FILE SECTION of a COBOL programme, I have the following line.RECORD VARYING FROM 122 TO 160 DEPENDING ON WS00_RECORD_LENGTHHow would the value of WS00_RECORD_LENGTH found out? Where will it be?

  23. Can Redefines clause be used in File section, if yes at which level number ?

  24. What is the difference between a subscript and an index in a table definition?

  25. Is NUMERIC EDIT fields can be used for Arithmatic operations?

  26. Advertisement
  27. Can I redefine an X(200) field with a field of X(100) ?

  28. What is an area sweep and when is it used?

  29. What is the mode in which you will OPEN a file for writing?

  30. What is difference between comp & comp-4?

  31. Can we use search and search all in embedded sql

  32. Distinguish among erase, erase permanent, erase selective and erase all.

Advertisement