ADSM-L

Re: scripting problems..Help

2001-06-28 12:58:33
Subject: Re: scripting problems..Help
From: Lindsay Morris <lmorris AT SERVERGRAPH DOT COM>
Date: Thu, 28 Jun 2001 12:58:42 -0400
Put a "\" in fron of the quote (") after the SEARCH=.

And you'll have a problem with "server*" also.
The UNIX shell treats these characters specially - remove the special
meaning with \ or by using ' ' arounf the whole expression.

> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> Dearman, Richard
> Sent: Thursday, June 28, 2001 12:56 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: scripting problems..Help
>
>
> When I run the following script:
>
> 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
>
> I get an email was follows"
>
> ANS8000I Server command: 'QUERY ACTLOG BEGINDATE=today BEGINTIME=02:00
> ENDDATE=today ENDTIME=NOW SEARCH=FULL backup from server SERVER* complete
> ORIGINATOR=ALL'
> ANR2020E QUERY ACTLOG: Invalid parameter - BACKUP.
> ANS8001I Return code 3.
>
> My actlog states the following:
>
> 03 ANR2017I Administrator ADMIN issued command: QUERY ACTLOG
> BEGINDATE=today
> BEGINTIME=02:00 ENDDATE=today ENDTIME=NOW SEARCH=FULL backup=
> from= server=
> SERVER*= complete= ORIGINATOR=ALL 06/28/01 11:47:03
> ANR2020E QUERY ACTLOG: Invalid parameter - BACKUP.
> Any ideas on how to fix this.
>
>
>
> ***************************EMAIL  DISCLAIMER**************************
> This e-mail and any files transmitted with it may be confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.   If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted
> to be taken
> in reliance on it, is strictly prohibited.  If you have received
> this e-mail
> in error, please delete it and notify the sender or contact Health
> Information  Management (312) 996-3941.
>
<Prev in Thread] Current Thread [Next in Thread>