ADSM-L

Re: Re-inserting tapes back from the vault.

1998-03-19 10:20:24
Subject: Re: Re-inserting tapes back from the vault.
From: Andrew Raibeck <storman AT US.IBM DOT COM>
Date: Thu, 19 Mar 1998 10:20:24 -0500
Hello Eric,

I'm not certain, but I think CHECKIN LIBVOLUME with SEARCH=YES does not scan
the entry/exit port. You would actually have to insert the tapes manually into
empty slots, then issue the command.

Alternatively, have you looked at the CMD and CMDFILENAME parameters of the
MOVE DRMEDIA command? This can be used to build the CHECKIN LIBVOLUME commands
for you automatically. For example, you can do something like this:

MOVE DRMEDIA * WHERESTATE=VAULTRETRIEVE
   TOSTATE=ONSITERETRIEVE
   CMD="CHECKIN LIBVOLUME 3575LIB &VOL STATUS=SCRATCH"
   CMDFILENAME="/usr/lpp/adsmserv/bin/checkin.mac"

This will generate a file called /usr/lpp/adsmserv/bin/checkin.mac that
contains CHECKIN LIBVOLUME commands for each tape. You can then issue the
DSMADMC MACRO command using this file as input.

Please consult the Administrator's Reference for more information on MOVE
DRMEDIA and the CMD and CMDFILENAME options.

Andy Raibeck
IBM Storage Systems Division
ADSM Client Development
e-mail: storman AT us.ibm DOT com


 ADSM-L AT VM.MARIST DOT EDU
 03/19/98 04:08 AM
Please respond to ADSM-L AT VM.MARIST DOT EDU @ internet

To: ADSM-L AT VM.MARIST DOT EDU @ internet
cc:
Subject: Re: Re-inserting tapes back from the vault.

Hi Andrew!

Yes I did! This caused the following message:

17-03-1998 14:46:44  ANR8422I CHECKIN LIBVOLUME: Operation for library 3575LIB
                      started as process 157.
17-03-1998 14:46:46  ANR8431I CHECKIN LIBVOLUME process completed for library
                      3575LIB; 0 volume(s) found.

ADSM issued this message without first checking the entry/exit port of the
library!
Am I doing something wrong? Should I first do the CHECKIN LIBVOLUME before I
make the tapes scratch with the MOVE DRMEDIA command?
Thank you very much for your reply Andrew!
Kindest regards,
Eric van Loon