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'<<<