Re: [nv-l] addtrap command
2003-01-30 08:28:41
David.Hustace AT tavve DOT com writes:
> Scott,
>
> Never worked with addtrap... I'm guessing here... Do you need to
> escape the newline sequence on the following line?:
>
> Change this:
> -F '$E $G $S $# args: $*'
> -C "/usr/bin/logger -plocal1.info Tape Library Event:
>
> To this:
> -F '$E $G $S $# args: $*' \
> -C "/usr/bin/logger -plocal1.info Tape Library Event:
Yes, otherwise the shell script thinks you're done with the addtrap
command, and then goes hunting for a command named -C and won't find
it. :-)
It's a shell thing, not an addtrap thing.
> [pbsxst00007][/usr/OV/tmp]>3584.addtrap.sh
> Trap ibm3584Trap001 has been added.
> 3584.addtrap.sh[17]: -C: not found.
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|
|
|