#!/bin/ksh93 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/lib/ksh93/sa/KLIB_SA_purge_metadata.sh 1.3 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2005,2011 # 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 # @(#)23 1.3 src/43haes/lib/ksh93/sa/KLIB_SA_purge_metadata.sh, hacmp, 61haes_r714 11/28/11 15:20:24 # #=head1 NAME # # KLIB_SA_purge_metadata - Remove all entries from the HACMPsa_metadata ODM # #=head1 SYNOPSIS # # ODMDIR=/etc/es/objrepos # export ODMDIR # KLIB_SA_purge_metadata || { # echo "ERROR unable to remove the smart assistant metadata" # } # #=head1 DESCRIPTION # # Removes all of the smart assistant metadata from the HACMPsa_metadata ODM # #=head1 ARGUMENTS # # None # # #=head1 RETURN # # 0: success # 1: failed # #=head1 COPYRIGHT # #(C) COPYRIGHT International Business Machines Corp. 2005 #All Rights Reserved # #=cut # function KLIB_SA_purge_metadata { odmdelete -o HACMPsa_metadata >/dev/null 2>&1 }