HP3000-L Archives

March 2005, Week 4

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:
Bruce Collins <[log in to unmask]>
Reply To:
Bruce Collins <[log in to unmask]>
Date:
Fri, 25 Mar 2005 09:38:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
You could use an intermediate job to schedule the next day's IMAILSTR job.
For example,

STREAM IMASTART;AT=......

and then IMASTART would just launch IMAILSTR when it starts. Then your PAUSE
wouldn't see your IMAILSTR until it is actually up and running.

----- Original Message -----
From: "Greg Stigers" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, March 25, 2005 1:05 AM
Subject: Re: [HP3000-L] pausing for a job


> To answer Jeff's question, we are pausing by jobname,
> !PAUSE 133;JOB="IMAILSTR,JOBS.account"
> This job is scheduled by another job that runs once an evening, so by end
> of
> day, this scheduled instance is already scheduled, and causes this pause
> to
> exceed the time specified (CIWARN 9032).
>
> So, taking Dave Powell's advice, I will try:
> SETVAR _JOBCNT JOBCNT('IMAILSTR,JOBS.account',_JOBLIST)
> WHILE SETVAR(_JOBCNT,_JOBCNT - 1) > 0
>   IF JINFO(WORD(_JOBLIST,,_JOBCNT),'JOBSTATE') = 'EXEC'
>      PAUSE JOB=![WORD(_JOBLIST,,_JOBCNT)]
>   ENDIF
> ENDWHILE
>
> If there's a better way, I'm all ears.
>
> Greg Stigers
>
> * 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