ADSM-L

Re: TSM server automation.

2002-03-25 09:00:08
Subject: Re: TSM server automation.
From: John Underdown <johnunderdown AT STI.SYNOVUS DOT COM>
Date: Mon, 25 Mar 2002 08:48:21 -0500
Here's how i wait on a  process to finish, i check every 10 minutes. i like to 
backup the DB first thing just incase............

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