Posted by Jim Walker on December 19, 2007 at 15:52:32:
In Reply to: System Monitor - sort by dispatch priority posted by Jason Wallace on December 19, 2007 at 14:43:35:
: When sorting the System Monitor (=I.M), I have discovered that the PRTYHEX field does not sort hexadecimal values properly.
You are correct in your observation that sorting on a HEX field does not sort properly on hex values. The IOF SORT command sorts on the displayed character string; but uses an EBCDIC sort sequence. This algorithm does not yield a proper hex value sort. Unfortunately this is not going to be a simple thing to change.
At least temporarily, I suggest you sort on PRIORITY. PRIORITY is another field on the System Monitor screen that displays task priority in decimal, and this field will sort properly. You can use "SORT PRIORITY" while showing the PR (PRTYHEX) field on your screen. In fact, support for SORT is the primary reason the PRIORITY field is on the monitor display.