HP3000-L Archives

May 2002, Week 5

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:
"Porter, Allen" <[log in to unmask]>
Reply To:
Porter, Allen
Date:
Fri, 31 May 2002 09:33:45 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
If you know the job number, you could use a JINFO function:
setvar IsRunning jinfo('#J4',"EXIST")

You can also do something like this (at least it works for me!):
showjob job=myjob,manager.sys >showtemp
setvar numlines finfo('showtemp',19)
if !numlines<4 then
   #Job does not exist
else
   #Job exists
endif

-----Original Message-----
From: Tom of Bunyon [mailto:[log in to unmask]]
Sent: Thursday, May 30, 2002 11:32 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Need Intrinsic to say if a job is running or not


I think there's an MPEX command that returns the number of jobs matching the
Job Card mask.

    %IF JSCOUNT("@,@.OMSINSTL")<>0 THEN
    %ENDIF


"Nancy Tietz" <[log in to unmask]> wrote in message
news:ad5uln011vv@enews1.newsguy.com...
> Anybody know of an Intrinsic that could be called to determine if a
> particular job is running or not?
> Other suggestions for similar functionality are welcome.
> Thanks
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2