The PRTY parameter in JCL specifies the selection priority for a job within its job class. It influences the order in which jobs are selected for execution when multiple jobs are waiting in the same job class queue. Higher values indicate higher priority.
1//jobname JOB (accounting-information),programmer-name,PRTY=priority
1//PAYROLL JOB (ACCT123),'JOHN SMITH',PRTY=12
Assigns priority level 12 to the job
12//REPORT JOB (ACCT456),'JANE DOE', // CLASS=A,PRTY=8,MSGCLASS=X
Assigns priority level 8 to the job in CLASS A
1//BACKUP JOB (ACCT789),'OPS TEAM',CLASS=B,PRTY=3
Assigns low priority (3) to a backup job, allowing other jobs to run first
1//URGENT JOB (ACCT321),'PROD SUPPORT',CLASS=A,PRTY=15
Assigns highest priority (15) to an urgent job
PRTY Range | Typical Usage |
---|---|
13-15 | Critical production jobs, emergency processing |
9-12 | Regular production jobs |
5-8 | Testing and development |
0-4 | Low priority batch, large reports, backups |
Note: Actual usage varies by installation
The actual priority used for job selection may be influenced by several factors: