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

📝 String Handling

Beginner
COBOL
Reverse a given string....
string reverse algorithm
Intermediate
COBOL
Accept a string and display it reversed....
string reverse reference-modification
Intermediate
COBOL
Count the number of vowels in a given string....
string inspect vowels
Intermediate
COBOL
Accept 10-digit phone and format as (XXX) XXX-XXXX. Input: 1234567890 -> (123) 456-7890...
string formatting reference-modification
Intermediate
COBOL
Count the number of words in a sentence. Input: "HELLO WORLD COBOL" -> 3 words...
string word-count algorithm
Intermediate
COBOL
Validate if email has proper format: contains @ and . after @....
email validation string
Intermediate
COBOL
Check if a string is a palindrome (same forward and backward)....
palindrome string algorithm
Advanced
COBOL
Parse a comma-separated record into individual fields. Input: "JOHN,DOE,35,NEW YORK"...
unstring csv parsing delimited