#!/bin/bash

# Script to query the managed objects.  This script is intended for use
# by Service Agent and will invoke the lshsc command.
#
# Usage:
#     lsHSC <parms>
#
#     <parms>  valid parms sent to lshsc
#
#     For example:     lsHSC -t0
#
# Exit status = 0 if no errors occur; non-zero otherwise.
#
#
# Module History:
# 00 04/07/2004  M. Gregor     Initial release

actzTrace "ESA    T: -> lshsc $*"

if (($# < 1)); then                                                        
   actzTrace 'ESA    F: Missing required argument(s).'
   exit 1
fi

/opt/hsc/bin/lshsc $1

actzTrace 'ESA    T: <- lshsc'

exit 0
