You can follow the steps in this topic to call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to start and run an i5/OS™ PASE program. An example follows.
The Qp2RunPase() API runs an i5/OS PASE program in the job where it is called. It loads an i5/OS PASE program (including any necessary shared libraries) and then transfers control to the program.
This API gives you more control over how i5/OS PASE runs than QP2SHELL() and QP2TERM().