z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the JOBCORR parameter

z/OS JES2 Commands
SA32-0990-00

The JOBCORR job correlator parameter consists of a 31-byte system-defined portion and a colon character (:), which are followed by a 32-byte user portion. The 32-byte user portion of the JOBCORR parameter can be set using any of the following methods:

  • The user portion can be set using the UJOBCORR JCL keyword on the JOB card. For more information on the UJOBCORR parameter, refer to z/OS MVS JCL Reference.
  • Using the JES Symbol service, the user portion can be set for batch jobs that are submitted through an internal reader by a user application. This symbol value will override any value that is specified on the UJOBCORR parameter. For more information on the JES Symbol service, refer to z/OS JES Application Programming.
  • The user portion can be set in installation exits 2 and 52 for a JOB JCL statement scan, or 20 and 50 for end of job input. A user portion that is set in an installation exit will override any value specified on the UJOBCORR keyword or in the symbol. For more information on installation exits, refer to z/OS JES2 Installation Exits.

Use the JOBCORR parameter to select, or filter, a subset of jobs with the values of job correlator that match the specified combination of characters (mask). The JOBCORR parameter can include wildcard characters.

For example, the following $D Job command uses the JOBCORR parameter to display all jobs across the MAS that are associated with an application named PAYROLL:
$djobq,jobcorr=*:payroll*,jobcorr
JOB00063 $HASP890 JOB(D15USER1) C
$HASP890 JOB(D15USER1) JOBCORR=J0000063POK.....C88B8C10.......:
$HASP890 PAYROLL
JOB00064 $HASP890 JOB(D15USER2) C
$HASP890 JOB(D15USER2) JOBCORR=J0000064POK.....C88B8C11.......:
$HASP890 PAYROLL
(The example assumes that when jobs are submitted, the application uses the JES Symbol Service (IAZSYMBL) to set the user portion of job correlators to a value starting with the string PAYROLL.)
Note: For wildcard character usage, refer to Using wildcards.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014