$MJ Deadline Command Examples


$MJ,DEADLINE,A=(+2,30M,+1,10M)

Add 2 to the job’s current priority 30 minutes before the deadline, thereafter add 1 to the job’s priority every 10 minutes as shown in the example above. This creates the type “A” algorithm.

$MJ,DEADLINE,B=(+1R,1H,12,30M)

Add 1 to the job’s current priority. “R” releases it from JES2 HOLD 1 hour before the deadline, 30 minutes later the priority is set to 12 as shown in the example above. This creates the type “B” algorithm.

$MJ,DEADLINE

The $MJ,DEADLINE command can also be used to display the existing definitions and the jobs awaiting execution that have requested Deadline Scheduling. Entering the command with no operands, as shown in the example above, displays all deadline types and all deadline jobs.

$MJ,DEADLINE=A

Entering the command in the format of $MJ,DEADLINE=type displays all the jobs of the requested type (“A”) as shown in the previous example.

NoteImage.jpg

If Deadline Scheduling is installed in a Multi Access Spool environment, ensure that the support is installed and active in all members of the MAS before defining any algorithms. Definitions can be lost if this precaution is not taken.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*