Dwight,
~ Lots of folks have complained about this but ADSM is following the
~ guidelines of all other programs basically...
are you serious about that?
I believe most programs on unix, windows and OS/2 Plattform return an
meaningfull error code.
Even if the would not: if you really believe the only-log file solution is
better, try to solve following trivial example in both scenarios, and compare
the length of code you have to write:
- write (a part of) procedure, which performs incremental backup (e.g. "dsmc
-incr -passw=xxx")
and then a) continuens to work if backup was ok, B) sends a mail to sysop and
stops if backup was not OK.
1) scenario: DSMC does not return error code
2) scenario: DSMC does return meaningfull error code
Juraj Salak
KEBA Banking
----------
~ Von: Dwight Cook
~ An: Multiple recipients of list ADSM-L
~ Betreff: Re: Return Codes
~ Datum: Dienstag, 10. Dezember 1996 18:02
~
~ NO IT DOESN'T... BUT like you mentioned if you look in your log
~ (unless you are running quiet) you will see everything listed with a
~ status and then at the end there will be an overall condition of
~ completion statement...
~
~ Lots of folks have complained about this but ADSM is following the
~ guidelines of all other programs basically... compare it to logging
~ onto your AIX node... you run many commands/tasks... if you run a
~ program that crashes would you want your logon session to report that
~ it failed when you logoff/exit ? Better would be, if you were typing
~ 90 miles an hour, hit your caplock, typed LS <ent> and the system
~ would come back with LS not found... one little syntax error... would
~ you now want misc reporting to state that your logon session was a
~ failure due to that ? ? ? ? ?
~
~ later
~ Dwight
~
~
~
~ ______________________________ Reply Separator
_________________________________
~ Subject: Return Codes
~ Author: ADSM-L (ADSM-L AT VM.MARIST DOT EDU) at unix,mime
~ Date: 12/9/96 3:32 PM
~
~
~ Hello,
~
~ Does anybody know if the AIX command line interface, dsmc, provides any
~ kind of return code indication as to the status of a backup or archive
~ operation? The user guide certainly doesn't contain any info on the
~ subject. It sure would beat searching thru the redirected output of the
~ backup/archive job for a text string containing '... ended with 0 failures'
~
------ =_NextPart_000_01BBE76F.F4036570--
=======================================================================
|