• New mode 6, check for lock without wait; equivalent to mode 0 but without setting the lock. Similar to 4 (when the class parameter is non-zero) but without any conflict/confusion with the reservations.
• New mode 7, expanded list; equivalent to mode 3 but the returned lock'array elements also contain the lock class, e.g.
map1 lock'array
map2 lok'jobnum,b,2
map2 lok1,b,x ! x=2 or 4 depending on myjob param
map2 lok2,b,x ! " " " "
map2 lokclass,b,2 ! always 2 bytes
• Mode 3 and mode 7 now pick up the array size from the parameter passed, whether it is passed as an unformatted block, or as the first element of the array. The value returned in mode (# of locks set) will be the total number of locks set (as before), but the list will be limited to the size of the array. Previously it may have overrun the array if not large enough to hold all the locks.