ADSM-L

Re: define script problem

2004-03-26 12:00:55
Subject: Re: define script problem
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 26 Mar 2004 10:00:04 -0700
But Wanda, that takes all the fun out of it!   :-)

It is a good alternative, though. Just one caveat: the file has to reside
on the TSM server machine, not the local machine from which you are
running the admin client.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.



"Prather, Wanda" <Wanda.Prather AT JHUAPL DOT EDU>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
03/26/2004 09:53
Please respond to
"ADSM: Dist Stor Manager"


To
ADSM-L AT VM.MARIST DOT EDU
cc

Subject
Re: define script problem






This stuff will make you crazy.  Give up your pain!!!

Use notepad (or vi, or whatever) to create your script in a flat file.
Type the SELECT just as you would from the command line, no worry about
extra quotes.

Then

DEFINE SCRIPT VAULTING desc="Create Vault Lists"  file=\pathname\filename




-----Original Message-----
From: Smith, Rachel [mailto:Rachel.Smith AT IRL.XEROX DOT COM]
Sent: Friday, March 26, 2004 10:03 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: define script problem


Hi,

I am trying to create a script that will produce a list of media to send
offsite.
I defined a script:
DEFINE SCRIPT VAULTING "select volume_name "Volumes to go offsite",
voltype
as "Volume Type" from drmedia where state="MOUNTABLE " order by
volume_name"
desc="Create vault lists"
And it fails with:  ANR2023E DEFINE SCRIPT: Extraneous parameter

I know it is something to do with the double quotes, but I also tried
single
quotes but it failed with the same error.
Could someone tell me what I'm missing.

Thanks again.

<Prev in Thread] Current Thread [Next in Thread>