Bruce Collins wrote:
> You just need a !pause job=!hplastjob;EXIST after each job to pause the
> calling job until the job completes.
....and do take care to make sure that the 'stream' before the 'pause' actually
worked :-) there's few things are more head-smacking than to find out you're
pausing for the wrong job...
of course, its worth pointing out that the pause command may not support the
above example. for folks on older releases of mpe you can mimic the same sort
of functionality with the following:
!setvar hpcierr 0
!if hpcierr <> 0
! setvar myjob_complete false
! while not myjob_complete
! tell !hplastjob
! if hpcierr = 1619
! setvar myjob_complete true
! pause 30
! setvar hpcierr 0
!# handle the error
Donna Garverick Sr. System Programmer
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *