I need to be able to sort the SHOWJOB output to sort by job number. I'm
redirecting the output to a file and then using SORT to sort the file with the
job number as the key. The only problem is that the job number output from
SHOWJOB is LEFT justified instead of RIGHT justified and blank or zero
filled. This causes a problem when I use SORT because it uses the first
character that it comes across in the key field to sort the file. As an
example; #J555 wil come before #J61 and after #J1000.
Does anyone have any solutions to my dilemma?
Thanks in advance!
Clint Schwartz
Memorial Hospital
South Bend, Indiana
[log in to unmask]