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:
Greg Stigers <[log in to unmask]>
Reply To:
Greg Stigers <[log in to unmask]>
Date:
Fri, 25 Mar 2005 01:05:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
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 *

ATOM RSS1 RSS2