Subject: | |
From: | |
Reply To: | |
Date: | Thu, 1 Nov 2001 16:15:44 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
If you have MPEX, try:
!RUN MAIN.PUB.VESOFT,MPEX;PARM=1;INFO=&
! 'SETVAR jobname JSCOUNT ("!HPJOBNAME,!HPUSER.!HPACCOUNT")'
!IF jobname > 1 THEN
! TELL !HPSTREAMEDBY;&
! !HPJOBNAME IS ALREADY RUNNING. THIS JOB WILL END.
! TELLOP !HPJOBNAME IS ALREADY RUNNING. THIS JOB WILL END.
! EOJ
!ENDIF
In this instance, we use EOJ because we do not want this to be considered
an error. We could have used ESCAPE to cause the job to abend and not just
terminate.
===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax: 617-509-3737
pager: 781-226-2431
Peter Osborne <[log in to unmask]>@RAVEN.UTC.EDU> on 11/01/2001 04:01:10
PM
Please respond to Peter Osborne <[log in to unmask]>
Sent by: HP-3000 Systems Discussion <[log in to unmask]>
To: [log in to unmask]
cc:
Subject: [HP3000-L] Jobs
Hello All,
Does anyone have a really quick way of keeping a particular Job from
running
multiple instances. I have a Job that is overlapping itself occasionally
and
I'd rather have it not launch if one is already running.
-Pete
* 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 *
|
|
|