Run an i5/OS PASE program with QP2TERM()

You use this i5/OS™ program to run an i5/OS PASE program in an interactive shell environment.

Start an i5/OS PASE interactive terminal session with the QP2TERM() program.
The following command writes the default Korn shell prompt (/QOpenSys/usr/bin/sh) to the screen:
call qp2term

From this prompt, you run an i5/OS PASE program in a separate batch job. QP2TERM() uses the interactive job to display output and to accept input for files stdin, stdout, and stderr in the batch job.

The Korn shell is the default, but you can optionally specify the path name of any i5/OS PASE program that you want to run, as well as any argument strings to pass to the program.

You can run any i5/OS PASE program and any of the utilities from the interactive session that you start with QP2TERM(); stdout and stderr are written and scrolled in the terminal screen.

Related information
QP2TERM()--Run an i5/OS PASE Terminal Session
i5/OS PASE shells and utilities