Use the "wait" option.

BACKUP STGPOOL DISK COPY MAXPR=1 WAIT=YES
BACKUP STGPOOL TAPE COPY MAXPR=1 WAIT=YES
BACKUP DB DEVCLASS=<DEVC> TYPE=FULL WAIT=YES
PREPARE WAIT=YES




-----Original Message-----
From: -ray [mailto:[EMAIL PROTECTED]
Sent: donderdag 9 september 2004 10:10
To: [EMAIL PROTECTED]
Subject: Run script sequentially?


All,

I would like to have a script automatically run to backup the disk
stgpool, then tape pool, and finally the database.  Obviously i don't want
them all to kick off at the same time.  Is there a way to run them
sequentially  so tape pool backup doesn't start until disk pool backup
is done, db backup doesn't start till tape pool backup is done??

ray
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean                                       http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist              AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to