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

🛠️ JCL Utilities

Beginner
JCL
Copy specific members from one PDS to another....
iebcopy pds copy
Intermediate
JCL
Write JCL to sort a file by employee ID (positions 1-5)....
sort utility
Intermediate
JCL
Write JCL that runs STEP2 only if STEP1 returns RC=0, and STEP3 runs if either step failed....
cond return-code conditional
Intermediate
JCL
Write IDCAMS to delete a VSAM file if it exists, then define a new KSDS....
idcams vsam ksds define
Intermediate
JCL
Sort employee file, include only active employees (status=A in pos 50), sort by department and name....
sort include filter
JCL
Explain all common DD statement parameters....
dd dsn disp space
Intermediate
JCL
Use JOBLIB and STEPLIB for program libraries....
joblib steplib loadlib concatenation
Intermediate
JCL
Use JCLLIB and INCLUDE for procedure libraries....
jcllib include modular library
Advanced
JCL
Write JCL to create a new generation of a GDG and also reference the previous generation....
gdg generation versioning
JCL
Create and call a JCL procedure....
proc procedure symbolic override
JCL
Create job where step execution depends on previous step outcome....
jcl if-then conditional multi-step