Re: Move DRM question
2001-08-01 14:20:53
When using the wildcard "*" in a script code it as "\*". This allows the AIX
script to recognize the "*" as a character.
Frank Mauro
Liberty Mutual
Backup and Recovery Services
Frank.MauroJr AT LibertyMutual DOT com
603.245.3207
> -----Original Message-----
> From: Fred Johanson [SMTP:fred AT MIDWAY.UCHICAGO DOT EDU]
> Sent: Wednesday, August 01, 2001 1:48 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> 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:fred AT MIDWAY.UCHICAGO DOT EDU]
> >Sent: Wednesday, August 01, 2001 10:53 AM
> >To: ADSM-L AT VM.MARIST DOT EDU
> >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?
|
|
|