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:
John Beckett <[log in to unmask]>
Reply To:
John Beckett <[log in to unmask]>
Date:
Mon, 9 Jan 1995 15:32:43 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
CLINTON SCHWARTZ <[log in to unmask]> wrote:
> 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?
Alas.  On the Classics, you could get a systems table.  We wrote a dandy
SPL program in those days that warped it whichever way we wanted, right
out of the JMAT.  Priv mode, but safe.  Does HP trust us with this info
any more?
 
The SHOWJOB probably lists things in JMAT index order--which is useless
for anybody but the O/S.
--
         /\--.      John Beckett               "Fresh outta sigs"
        /  \  )     Southern College of SDA
       /----\---.   (615) 238-2701 voice
  \   /      \   \  238-2431 FAX
   `-'        `--'  [log in to unmask]

ATOM RSS1 RSS2