ADSM-L

[no subject]

2015-10-04 17:51:04

Audrey,

I used the following script to disable the UserExit Events.
You need the following file for run the script:
(See attached file: Message.Global)


Best Regards
Georges


#!/bin/ksh
#
# MESSAGES INPUT FOR DISABLE EVENT
INPUT_MESSAGE=/usr/local/adsmserv/etc/Message.Global

# LOG POUR RECUPARATION DES MESSAGES EMIS PAR LE SCRIPT
LOG=/home/user1/tmp/log.event

CMDLINE="disable events USEREXIT"

####################################################################
# Define environment
#
# ADSM administrator account
        export ADSMID=user1
        export ADSMPA=passwd
####################################################################
# Define functions
#

# run an ADSM administrative command
adsm_cmd () {
        dsmadmc -id=$ADSMID -pa=$ADSMPA disable event userexit info >> $LOG
        dsmadmc -id=$ADSMID -pa=$ADSMPA enable event userexit warning >>
$LOG
        dsmadmc -id=$ADSMID -pa=$ADSMPA enable event userexit error >> $LOG
        dsmadmc -id=$ADSMID -pa=$ADSMPA enable event userexit severe >>
$LOG

        for MESSAGE in `cat $INPUT_MESSAGE|awk '{print $1}'`
        do
                dsmadmc -id=$ADSMID -pa=$ADSMPA $CMDLINE ANR$MESSAGE >>
$LOG
        done
}

####################################################################
# Main
#

adsm_cmd

# End of the script #








aptruex AT fedex DOT com sur 16.11.98 15:30:04

Pour :    Georges Roig/Production/Unicible
cc :  ADSM-L AT vm.marist DOT edu
Objet :   User exits




Georges,

     I'm interested to know what events you disabled in #3 below. Do you
have a script you could share those with me ? We have lots of extra
messages on our console (mistyping a command for example) that we don't
need reported.

Thanks,

Aubrey Truex
ADSM support, FedEx


> -----Original Message-----
> From: Roig Georges [SMTP:Georges.Roig AT UNICIBLE DOT CH]
> Sent: Thursday, November 12, 1998 7:39 PM
> To:   ADSM-L AT VM.MARIST DOT EDU
> Subject:      ADSM SERVER 3.1.2.0 Upgrade Experience
>
> Environment:
> AIX 4.1.5
> ADSM Server 3.1.1.0
> 250 clients NT & Unix
>

>
> 3. In the previous version I disabled 600 UserExit Events, but with the
>    upgrade I lost all of them. I had to restart the script I used to
> disable
>    the events.





<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Unknown <=