Calling IBM i programs from IBM PASE for i

You can take advantage of existing IBM® i programs (*PGM objects) when you create your PASE for i applications. In addition, you can use the systemCL() function to run the CL CALL command.

Use the _PGMCALL() runtime function to call an IBM i program from within your PASE for i program.

This method provides for faster processing than the systemCL() runtime function, but it does not perform automatic conversion of character string arguments (unless you specify PGMCALL_ASCII_STRINGS), and it does not give you the capability of calling the program in a different job.