ADSM-L

Re: Q ACTL / SEARCH question

2001-07-03 11:39:59
Subject: Re: Q ACTL / SEARCH question
From: Lindsay Morris <lmorris AT SERVERGRAPH DOT COM>
Date: Tue, 3 Jul 2001 11:24:46 -0400
Use backslashes to hide the quote's special meaning from the unix shell:
dsmadmc -id=xxx -pas=xxx q actl begint=-48 search=\"119 mi nutes\"

> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> George Lesho
> Sent: Tuesday, July 03, 2001 11:03 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Q ACTL / SEARCH question
>
>
> %SMers, From the command line interface, using a search string bounded by
> quotation marks will allow you to input a search string with spaces:
>
> example:
>
> tsm: AFCOPS2>q actl begint=-48 search="119 mi nutes"
>
> Date/Time                      Message
> --------------------
> ----------------------------------------------------------
> 07/01/01   14:03:07      ANR8765I 055: 3570 volume 074C18 in
> location datactr is
>                                           required for use in
> library 3575LIB1; CHECKIN LIBVOLUME
>                                           required within 119 mi nutes.
>
>
> The same command, from the command line produces an error using
> quotes to bound the search string.
>
> example:
>
> afcops2: /usr/local/bin # dsmadmc -id=<<<userid>>>
> -pass=<<<passwd>>> begint=-48 search="119 mi nutes"
> Tivoli Storage Manager
> Command Line Administrative Interface - Version 3, Release 7, Level 2.0
> (C) Copyright IBM Corporation, 1990, 1999, All Rights Reserved.
>
> Session established with server AFCOPS2: AIX-RS/6000
>   Server Version 3, Release 7, Level 3.6
>   Server date/time: 07/03/01   09:45:18  Last access: 07/03/01   09:33:02
>
> ANS8000I Server command: 'begint=-48 search=119 mi nutes'
> ANS8001I Return code 3.
>
> ANS8002I Highest return code was 3.
>
> Is there anything that I can do to introduce search strings with
> spaces into a command line "q actl". I removed the userid and
> password from the command line example below for security purposes.
>
> Thanks -
>
> George Lesho
> AFC Enterprises
> Storage/System Admin
>
<Prev in Thread] Current Thread [Next in Thread>