Spdata/Sys1/Err_Methods/En_Pend - IBM RS/6000 SP Problem Determination Manual

Hide thumbs Also See for RS/6000 SP:
Table of Contents

Advertisement

This soft copy for use by IBM employees only.
The following is an example of the /spdata/sys1/err_methods/EN_pend file:
Figure 74. /spdata/sys1/err_methods/EN_pend
#!/bin/ksh
#####################################################################
#
# Module: EN_pend
#
#CPRY
# 5765-296 (C) Copyright IBM Corporation 1995
# Licensed Materials - Property of IBM
# All rights reserved.
# US Government Users Restricted Rights -
# Use, duplication or disclosure restricted by
# GSA ADP Schedule Contract with IBM Corp.
#CPRY
#
#-------------------------------------------------------------------#
#
# Description: Default error notification script for pend errors.
#
# Syntax (example): Add as EN_pend $1
#
# Internal Ref: None
#
#####################################################################
#@(#)96 1.1 src/ssp/logmgt/bin/EN_pend, sysman, ssp_r2.4, r2_4t6d6
4/4/95 07:21:32
unset EN_MAILLOC
unset EN_RUNDEFAULT
ENVS=$0' . envs' ;
PRE=$0' . pre' ;
POST=$0' . post' ;
if [ -x $ENVS ]
then
. $ENVS
fi
if [ -x $PRE ]
then
echo $PRE;
fi
if [ " $EN_RUNDEFAULT" != "" ]
then
if [ " $EN_MAILLOC" != "" ]
then
errpt -a -l $1 > /tmp/tmprpt.$$
mail $EN_MAILLOC < /tmp/tmprpt.$$
rm /tmp/tmprpt.$$
fi
fi
if [ -x $POST ]
then
echo $POST;
fi
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
177
Chapter 6. E r r o r Logging

Advertisement

Table of Contents
loading

Table of Contents