Here is a set of sample programs that will allow you to technically validate the possibilities of migrating your mainframe code to an open architecture.
The code has been simplified to make it understandable to anyone with minimal programming skills.