The process for generating and using stubs to run programs on a mainframe is as follows:
Carry out the steps in the section Preparations, to make sure that your environment is set up correctly and that your programs
are suitable for use with the Mainframe Call Generator.
Specify the program containing the subprograms you want to create stubs for. Note that Mainframe Call Generator will not generate
a stub for a subprogram that does not take at least one parameter.
Create the stubs using the Mainframe Call Generator window.
Run your program as normal. When a subprogram with a generated stub is encountered, control is passed to the subprogram on
the mainframe, which executes, then control returns to your program.