ADSM-L

Re: Script timing issue with MOVE DATA WAIT=YES

2002-05-20 11:13:03
Subject: Re: Script timing issue with MOVE DATA WAIT=YES
From: John Underdown <johnunderdown AT STI.SYNOVUS DOT COM>
Date: Mon, 20 May 2002 11:10:58 -0400
Here's how i wait on a  process to finish. Basically i query the process and
if it's still running i re-spawn the schedule for ten minutes later. If you
have any questions please let me know.

john
junderdown AT sti.synovus DOT com 
----------------------------------------------------------------------------
-
--
--
/*DAILY*/
/*DAILY*/
/*backup db*/
delete schedule chkproc type=admin
q process
if(rc_notfound) goto cont
def schedule chkproc cmd="run daily" active=yes startd=today
startt=now+00:10 exp=today
exit
cont:
backup db dev=bakdrive type=full wait=yes
def schedule chkproc cmd="run Script1" active=yes startd=today
startt=now+00:10 exp=today
exit
/* End of DAILY*/

/*SCRIPT1*/
/*Expire data bkup stg backup\archive pools*/
delete schedule chkproc type=admin
q process
if(rc_notfound) goto cont
def schedule chkproc cmd="run script1" active=yes startd=today
startt=now+00:10 exp=today
exit
cont:
def schedule chkproc cmd="run backupstg" active=yes startd=today
startt=now+00:10 exp=today
expire inventory
exit
/*End of SCRIPT1*/

/*Backupstg*/
delete schedule chkproc type=admin
q process
if(rc_notfound) goto cont
def schedule chkproc cmd="run backupstg" active=yes startd=today
startt=now+00:10 exp=today
exit
cont:
backup stg backuppool copypool
/*End of Backupstg*/


<Prev in Thread] Current Thread [Next in Thread>