How do you setup CA JMR to collect specific job classes?
CLASS parameter in the CAPKJMR JCL procedure allows to select up to eight sysout classes CA JMR can collect.
User exit PKXTSSOB can be used to have CA JMR collect jobs based on their jobname, or specific rules that apply to the jobname (could be all jobs that start with a particular prefix, for example); to allow a job to be collected, set the return code to zero (R15=0); to tell CA JMR not to collect a job, set the return code to four (R15=4).
To prevent CAPKJMR from selecting a job that is not wanted again and again, code is provided in PKXTSSOB to issue a JES2 $H command to have the sysout held in the JES spool.
Note: user exit PKXTSSOB will be entered for each job that was selected by means of the criteria as defined in the CAPKJMR JCL procedure.
Sample code for user exit PKXTSSOB can be found in the CAI.CAISRC library.
You may also want to review the Product Documentation Change QI30810 which provides documentation about the exit.
In addition it is possible to have CA JMR collect a particular JOB name and/or JOB number, or select sysouts based on a specific Form, Writer name or Destination.
There is no parameter to select sysouts by generic JOB name.