Call an i5/OS PASE procedure from within i5/OS programs

You can call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to run an i5/OS™ PASE program in a job where the i5/OS PASE environment is already running.

The Qp2RunPase() API initially starts and runs an i5/OS PASE program in a job. It returns an error if i5/OS PASE is already active in that job.
To call i5/OS PASE procedures in a job that is already running an i5/OS PASE program, you use the Qp2CallPase() and Qp2CallPase2() APIs.
Related information
Qp2CallPase()--Call an i5/OS PASE Procedure