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