HP3000-L Archives

November 2000, Week 1

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:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Wed, 1 Nov 2000 13:44:39 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Larry Barnes wrote:

> I believe the variable you use is hplastjob.  this is the job number of
> the last job you streamed.

the operative phrase is 'you streamed'....

> Michael Hone wrote:
>
> > I wrote this command file for just such occasions:
> >
> > USER DEFINED COMMAND FILE:  FINDJOB.COMMANDS.SGAII
> >
> > PARM date jobname
> > LISTSPF @;SELEQ=[(DATE=!date)AND(JOBNAME=!jobname)];DETAIL

not a bad suggestion...but i think you're still faced with having to know
more about the job than you already know.

to elaborate....  you have a background job.  it's normally always
running.  you may or may not have streamed it (you personally probably
didn't but you can't assume that hplastjob is meaningful).  you don't know
when it was streamed (but you don't really care).  but for whatever reason
you want to test if it's still running.  so given that you know *very*
little about this job -- other than it's name -- how do you find out it's
job number?  hmmmm....      - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

"Unix _is_ user friendly.
It's just very selective about who its friends are.
And sometimes even best friends have fights."

>>>MY opinions, not Longs Drug Stores'<<<

ATOM RSS1 RSS2