Fred,

It looks like the shell is eating your quotes.  You might try

cmd=\"checkin libvol tsmlib &vol devt=3590 stat=scratch\"

Alex

-----Original Message-----
From: Fred Johanson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Move DRM question


The script that produced to log i appended was:

dsmadmc -id=admin -password=password move drm UC* wherest=vaultretrieve
tost=onsiteretrieve cmdf=/var/adm/dsm/drmcmd.dsm cmd="checkin libvol tsmlib
&vol devt=3590 stat=scratch"

The manual has "move drm * etc" but experience shows that the command
parser has a problem with the wildcard "*" in scripts, but all my
cartridges are UCxxxx.


At 12:28 PM 8/1/2001 -0500, you wrote:
>What do your scripts look like?  I have scripts that work
>
>-----Original Message-----
>From: Fred Johanson [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 01, 2001 10:53 AM
>To: [EMAIL PROTECTED]
>Subject: Move DRM question
>
>
>I'm trying to get DRM commands installed for operations staff.  The desired
>method is for an operator to issue a command from the console which is a
>local script, in this case copied straight out of the TSM
>documentation.  The server is running AIX 4.3.3 and the script is
>Korn-shell.
>
>This is what appears in the activity log when the script is run.
>
>08/01/2001 10:42:26  ANR2017I Administrator ADMIN issued command: MOVE
>DRMEDIA
>                        UC* wherest=vaultretrieve tost=onsiteretrieve
>                        cmdf=/var/adm/dsm/drmcmd.dsm cmd=checkin libvol=
>tsmlib=
>                        &vol= devt=3590 stat=scratch
>08/01/2001 10:42:26  ANR2020E MOVE DRMEDIA: Invalid parameter - LIBVOL.
>08/01/2001 10:43:35  ANR2017I Administrator FRED issued command: QUERY
>ACTLOG
>                        s=drm
>08/01/2001 10:44:39  ANR2017I Administrator ADMIN issued command: MOVE
>DRMEDIA
>                        UC* wherest=vaultretrieve tost=onsiteretrieve
>cmd=checkin
>                        libvol= tsmlib= &vol= devt=3590 stat=scratch
>08/01/2001 10:44:39  ANR2020E MOVE DRMEDIA: Invalid parameter - LIBVOL.
>
>I have a feeling that this is more an AIX problem than TSM, but has anyone
>got this to work?

"WorldSecure <Freightliner.com>" made the following
 annotations on 08/01/01 11:02:44
------------------------------------------------------------------------------

[INFO] -- Content Manager:
The information contained in this communication is confidential and intended solely 
for the use of the individual to whom it is addressed and others authorized to receive 
it.  If you are not the intended recipient, any disclosure, copying, distribution or 
taking of any action in reliance on the contents of this information is prohibited. If 
you have received this communication in error, please immediately notify the sender by 
phone if possible or via email message.

==============================================================================

Reply via email to