Example 1: in the QSH ps -A is like doing a wrkactive job (but for pase jobs only) they have a five(5) digit PID (Process ID) on the QSYS.LIB side wrkactjob seems those same jobs have a different six(6) digit job number.... how are these jobs tied together or are they not?
Example 2: When I execute a CLP with a call to QP2SHELL to execute a script, each statement in the script opens up a new job executes, creates a joblog, ends. So, when I submit this job to batch, the active job in bacth has six different jobs (for a script with 5 lines) with six different job logs.... How do I force one job/one job log?