Run an i5/OS PASE program from within i5/OS programs

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.

Use the Qp2RunPase() API to run an i5/OS PASE program. You specify the program name, argument strings, and environment variables.

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().

Related information
Qp2RunPase()--Run an i5/OS PASE Program