#!/usr/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/lib/nim/methods/dump_errlog_notify.sh 1.2 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2009 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)79 1.2 src/bos/usr/lib/nim/methods/dump_errlog_notify.sh, cmdnim, bos720 3/4/09 09:29:06 # function notify_nim_master { #echo $0 $@ #set -x /usr/sbin/nimclient -o change \ -a force=yes \ -a ignore_lock=yes \ -a info="label=$2 sequence=$3 errid=$4 " /usr/sbin/nimclient -S $1 /usr/sbin/nimclient -o change \ -a force=yes \ -a ignore_lock=yes \ -a info="" /usr/sbin/nimclient -R success } case $9 in DUMP_STATS) notify_nim_master dump_complete $9 $1 $2 ;; DMPCHK_TOOSMALL) notify_nim_master dump_config_fail $9 $1 $2 ;; FWADUMP_DUMPERR) notify_nim_master dump_fail $9 $1 $2 ;; ERRID_FWADDUMP_INITFAIL) notify_nim_master dump_config_fail $9 $1 $2 ;; ERRID_DDUMP_INITFAIL) notify_nim_master dump_config_fail $9 $1 $2 ;; *) exit 0;; esac exit 0