COBOL interview questions – page 6

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

Advertisement
  1. What is COMP-1? COMP-2?

  2. What should be the sorting order for SEARCH ALL?

  3. If you were passing a table via linkage, which is preferable - a subscript or an index?

  4. 77 WS-AMT PIC ZZZ999.ADD 100 TO WS-AMT WILL RESULT INa) COMPILATION ERRORb) SOC7 ERRORC) NO ERROR

  5. What is binary search?

  6. When you are obtaining next within a set and get a end of set return code, on what record are you now current?

  7. What sets will the stored record connect to?

  8. COMP-2 occupies _________ bytes?

  9. How do you do in-line PERFORM?

  10. What COBOL construct is the COBOL II EVALUATE meant to replace?

  11. What is the difference between local and central version operating modes?

  12. How do you prepare a COBOL + DB2 program from coading till execution ?

  13. Advertisement
  14. Can we delete the data using IEFBR14 , IEBGENER??

  15. Can we open close file in COBOL any number of times?

  16. Difference b/w Error and abend in COBOL

  17. What is tne need to use sub programs in Cobol?

  18. What is reference modification?What is UNION in sql and syntax?What is the difference between GDGS and VSAM? Which is prefer one?What is processing groups in endevor?

  19. Report zabc.Top-of-page.Write : 'Hello'.End-of-page.What is the output of the program.

  20. Which generation language is cobol

  21. 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING".01 NAME2 PIC X(13).now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC"HOW can I do that ??? please let me know if any one knows it.

  22. Describe the COBOL coding sheet

  23. What happens if we wont give timestamp in precompilation process ?

  24. When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

  25. Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

  26. Advertisement
  27. What is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

  28. What is the use of filler in cobol programing?

  29. What is logs in cognos

  30. What is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

  31. Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

  32. How we separate the cobol cics statements from cobol&cics programming?

Advertisement