#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/cspoc/utilities/clfindjfslog.sh 1.1 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 1999 # 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 # @(#)24 1.1 src/43haes/usr/sbin/cluster/cspoc/utilities/clfindjfslog.sh, hacmp.cspoc, 61haes_r714 12/23/99 11:36:50 VGID=$1 ODMINFO==$(odmget -q"value like $VGID.*" CuAt) if [[ $? -eq 0 ]]; then LVS=$(print "$ODMINFO" | awk -v FS="\"" '/name = /{print $2}') for lv in $LVS do if [[ -n `odmget -q"name=$lv AND value=jfslog" CuAt` ]]; then echo $lv break fi done fi