Priority and Max Priority
Can you please explain the difference between Priority and Max Priority on a job definition.
The Priority is the default priority of the job. The Max Priority is used to limit the priority users can give the job at submit time.
Example: I submit definition A in the submit wizard, once I have filled the parameters, I can select a queue and priority etc. Lets say that the definition has priority of 50 (default) and, I am cheeky, I "think" this job is really, really, really important and should, even though this is a very busy time for the target system, run asap. I could set the priority to 100 (absolute max) and submit it. Now, of course, Administrators do not really think my job is as important as I think it is ... to prevent silly me from doing this again, they set the Max Priority on the definition to say 60. Next time I try to set the priority to 100 I get an error message and have learned my lesson.
If the queue is full, the waiting job with the highest priority is the next in line for execution.
So Max Priority is there to prevent operators from pushing certain jobs through a busy system.