Master Mainframe Technologies - COBOL, JCL, DB2, VSAM, CICS & More
ABEND Codes SQLCODEs File Status Interview Prep Contact

Practice Problems

Master COBOL, JCL, and mainframe skills with real-world scenarios

109
Total Problems
38
Beginner
47
Intermediate
24
Advanced

🏢 Real-World Scenarios

Intermediate
COBOL
Track deposits and withdrawals, maintain balance, prevent overdraft....
banking transaction validation
Intermediate
COBOL
Validate credit card number using Luhn algorithm. Check: 16 digits, valid checksum, identify card type (Visa/Master/Amex)....
validation luhn credit-card algorithm
Intermediate
COBOL
Calculate: days between two dates, find day of week for any date....
date functions calculation
Intermediate
COBOL
Calculate Equated Monthly Installment (EMI) for a loan....
loan emi finance amortization
COBOL
Calculate gross pay, deductions, and net pay. Regular hours up to 40, overtime at 1.5x....
payroll business calculation
COBOL
Read employee file, calculate tax based on salary slabs, generate formatted salary report. Tax Slabs: 0-25000: 0%, 25001-50000: 10%, 50001-100000: 20%...
payroll report tax evaluate
COBOL
Track product inventory: add stock, sell items, show low stock alerts (below 10 units), generate inventory report....
inventory tables business menu
Advanced
COBOL
Simulate ATM: PIN verification (3 attempts), check balance, withdraw (multiples of 100, max 20000), deposit, mini statement (last 5 transactions)....
atm banking security transactions
Advanced
COBOL
Generate itemized bill: multiple items with quantity and price, apply discount if total > 1000, add GST 18%, print formatted bill....
billing invoice business calculation
COBOL
Manage student records: add students, record marks for 5 subjects, calculate total/average/grade, show class topper....
grades students tables business
COBOL
Process customer orders: validate customer ID, check product availability, calculate total, apply loyalty discount, update inventory....
order ecommerce business validation
COBOL
Generate monthly bank statement: opening balance, all transactions, closing balance, interest calculation....
banking statement running-balance interest
COBOL
Calculate insurance premium based on age, coverage amount, and risk factors....
insurance premium risk calculation
COBOL
Track employee leave: apply leave, approve/reject, show balance, generate leave report....
leave hr employee management
COBOL
Manage patient records: admit, discharge, view details, bill calculation....
hospital patient healthcare billing
COBOL
Manage library: add books, issue, return, check availability, fine calculation....
library books management fine