From: Isaac Blake <[log in to unmask]>
Item Subject: Message text
> 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 th
e
> 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?
Clint,
What about starting your at column 3 and doing a numeric sort. This would
combine jobs and sessions though. You could sort jobs and sessions separately
with the SHOWJOB job=@S command.
Rick Ehrhart
[log in to unmask]