Capita interview question

checkpoint restart logic, JCL sort