Re: DSMC I - via batch - Is a 0 retrun code valid?
1999-03-23 04:21:14
Hi Peter,
According to IBM, even if the RC is zero, you may have some errors
(minor).
You should always check your *log files.
Herve
Peter.Griffin @ ZURICH.COM.AU
23/03/99 01:04
To: ADSM-L @ VM.MARIST.EDU
cc: (bcc: Herve Chibois/FR/ABNAMRO/NL)
Subject: DSMC I - via batch - Is a 0 retrun code valid?
Because the backups of our clients are dependant on other tasks and
resources we do all our scheduling via an external scheduler (ECS).
I run a simple script to backup the client which basically issues the DSMC
I command and exits with the rc
My concern is that there is an error in the backup (ANS1802E Incremental
backup of '/opt/adsm' finished with 1 failure ) and yet the script ends
rc=0.
Is my script too simple? Does anyone do anything similar and has some
method to track these errors?
/usr/adsm/dsmc i
STATUS=$?
echo $STATUS
exit $STATUS
Peter Griffin
Zurich Insurance
|
|
|