HP3000-L Archives

January 1995, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
CLINTON SCHWARTZ <[log in to unmask]>
Reply To:
CLINTON SCHWARTZ <[log in to unmask]>
Date:
Mon, 9 Jan 1995 15:27:04 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
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]

ATOM RSS1 RSS2