How can I create a reservation to prevent jobs from running with a specific job attribute?


Question:

How can I create a reservation to prevent jobs from running with a specific job attribute?


Solution:

Reservations support a JOBATTRLIST both in a STRCFG and via mrsvctl.

Example:

SRCFG[stopattr] JOBATTRLIST=!project,!hsk

Or on a command line

 

mrsvctl -c -t ALL -a jattr='!sysp' 
mrsvctl -c -t ALL -a jattr='!project' 

Your escapte sequence might be different due to the shell you use. 

 

Tags: jattr, reservation
Last update:
2016-08-23 22:02
Author:
Jason Booth
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags