Interview questions

Mainframe interview questions – page 5

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

  1. How will you call the return code of JCL ?

  2. How many extents are possible for a sequential file ? For a VSAM file ?

  3. What does a file status of 02 on a VSAM indicate?

  4. How does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?

  5. How can I get the number of records of a sequential file without browsing it?

  6. What PERFORM parameter in EXEC statement is meant for?

  7. What are the parameters used in CBLTDLI call?

  8. What happens if both JOBLIB & STEPLIB is specified ?

  9. What is RESTART? How is it invoked?

  10. Write the DD step names used in IERCOMPR?

  11. How man key fields and search fields can a segment have?

  12. I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

  13. A Field that DL/I uses to maintain the segments in the ascending order is called the key field

  14. Explain the difference between record occurrence and record type?

  15. What is the meaning of the return codes 0307 and 0326?

  16. How can be determined if date contained in the header of a file is date current date?

  17. Why would you use find and get rather than an obtain?

  18. What is the interactive tool to work with ims database like spufi for db2?

  19. What does a COMMIT statement do?

  20. There are 100 steps in a jobcard.If we want to execute 100th step,what to do? and but remaining 99 steps should not execute

  21. What is the advatage of coding RECFM=F over RECFM=FB.I know the concept that RECFM=FB is fast, easily accessable due to the fact that FEW (not 1 records) records are allocated to each BLOCK. Then who would like to specify RECFM=F? And why?

  22. What is a database record?

  23. How do I know which archived data sets are about to expire?

  24. What are the command codes and their purposes?

  25. Do all versions of the GDG have to be of the same record length ?

  26. What does IEFBR14 utility is used for?

  27. What is meant by impact analysis?

  28. What are Twins?

  29. What is the physical nature of a database called?

  30. Describe the EXEC statement, its meaning, syntax and keywords.

Companies that ask Mainframe questions