AW: automating TSM process/schedules
2002-03-08 15:37:18
Hi,
one of our Server Command Scripts looks like:
/* Are there any sessions running? If yes */
/* define new Schedule with starttime now+20 minutes */
select * from sessions where -
upper(session_type)='NODE'
if (rc_ok) goto reschedule
/* Are there any processes running? If yes */
/* define new Schedule with starttime now+20 minutes */
select * from processes
if (rc_ok) goto reschedule
/* Do what has to be done */
....
/* Delete old schedules */
delete schedule r_copy_backup type=a
exit
/* Start Schedule aagain */
reschedule:
delete schedule r_copy_backup type=a
def sch r_copy_backup type=admin -
cmd="run Ill_Copy_Backup" active=yes -
startt=NOW+0:20 duration=5 durunits=minutes -
perunits=onetime expiration=today+1
Hope this helps
Kind regards
Thomas Rupp
Vorarlberger Illwerke AG
MAIL: thomas.rupp AT illwerke DOT at
TEL: ++43/5574/4991-251
FAX: ++43/5574/4991-820-8251
------------------------------------------------------------------------------------------
Dieses eMail wurde auf Viren geprueft.
Dieses eMail wurde auf Viren geprueft.
Vorarlberger Illwerke AG
------------------------------------------------------------------------------------------
=========================================================================
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- AW: automating TSM process/schedules,
Rupp Thomas (Illwerke) <=
|
|
|