Mainframe Interview Questions
COBOL Interview Questions
1. What are the different divisions in COBOL?
2. Explain the difference between COMP, COMP-1, COMP-3.
3. What is the difference between PERFORM and CALL?
4. How is the REDEFINES clause used?
5. What is the difference between INDEX and SUBSCRIPT?
6. Explain INSPECT in COBOL.
7. How do you handle file status codes?
8. What is the difference between static and dynamic calls?
9. How do you define a table in COBOL?
10. How to handle arrays (tables) in COBOL?
JCL (Job Control Language) Interview Questions
1. What is the purpose of JCL?
2. Difference between JOB, EXEC, and DD statements.
3. What is the use of COND and IF in JCL?
4. Explain TIME, REGION, and CLASS parameters.
5. What are GDGs (Generation Data Groups)?
6. What is a PROC and how is it used?
7. What is the purpose of STEPLIB and JOBLIB?
8. What are SYSIN, SYSOUT, and SYSPRINT?
9. How do you restart a job from a particular step?
10. What happens if both JOBLIB and STEPLIB are present?
VSAM (Virtual Storage Access Method) Interview Questions
1. What are the types of VSAM datasets?
2. Difference between ESDS, KSDS, and RRDS.
3. How is VSAM better than a sequential file?
4. What is a Control Interval (CI) and Control Area (CA)?
Mainframe Interview Questions
5. How do you define and load a VSAM file?
6. How do you read/update/delete a VSAM file in COBOL?
7. What is the difference between START, READ NEXT, and READ?
8. How can we convert a sequential file into a VSAM file?
9. What is an Alternate Index in VSAM?
10. What are the VSAM status codes?
DB2 (Mainframe Database) Interview Questions
1. What is a cursor in DB2?
2. What is the use of COMMIT and ROLLBACK?
3. Difference between INNER JOIN and OUTER JOIN.
4. What are host variables in embedded SQL?
5. Explain the EXPLAIN command in DB2.
6. What are DB2 locks? Explain deadlock.
7. What is a plan and package in DB2?
8. What is the use of FETCH and OPEN statements?
9. How do you declare a cursor in COBOL?
10. How do you handle SQLCODEs?
CICS (Customer Information Control System) Interview Questions
1. What is CICS and why is it used?
2. What is the difference between LINK, XCTL, and CALL?
3. How do you pass data between programs in CICS?
4. What is a COMMAREA?
5. What is the use of DFHCOMMAREA?
6. How do you handle transactions in CICS?
7. What are the common CICS commands?
8. What is pseudo-conversational programming?
9. Explain the difference between TSQ and TDQ.
10. What happens when a CICS transaction abends?
Mainframe Interview Questions
General/Mainframe Tools
1. What is ISPF and what panels do you commonly use?
2. How do you use TSO/ISPF?
3. What is SDSF used for?
4. What is Abend-AID or Fault Analyzer?
5. What is the function of a spool?