ADSM-L

Re: scripting problems..Help

2001-06-28 13:39:16
Subject: Re: scripting problems..Help
From: Richard Sims <rbs AT BU DOT EDU>
Date: Thu, 28 Jun 2001 13:40:19 -0400
>dsmadmc -ID=admin -PASSWORD=admin QUERY ACTLOG BEGINDATE=today
>BEGINTIME=02:00 ENDDATE=today ENDTIME=NOW SEARCH="FULL backup from server
>server* complete" ORIGINATOR=ALL | mail -s Exchange_backup_info
>email AT whatever DOT com
...
>ANR2020E QUERY ACTLOG: Invalid parameter - BACKUP.

You ran a shell script and passed a value in double quotes.
Shells conventionally accept whatever was in the quotes as a single
entity and then hand that off to the task - which means that TSM
was given a bunch of tokens without quotes.  You have to compensate
by coding quotes within quotes, per the rules of your shell.

  Richard Sims, BU
<Prev in Thread] Current Thread [Next in Thread>