Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to get rid of reply for each tape? 1

Status
Not open for further replies.

Noor2000

Technical User
May 23, 2004
78
0
0
CA
Hi all,
Every morning, I have to check out the tapes (These tapes contain the backup of more than 15
servers, so I have like 12 tapes every day). The problem is when I run the script to take the
tapes, I have to put a reply for each one. My issue Is: is there any way to automate this? are you doing
this task in another way that can prevent from staying in front of the screen 15 minutes waiting
for Tivoli to put the tape in the door of the library and reply ** or whatever?

Here is the script that I'm using, so please if you have any suggestion tell me

dsmadmc -id=***** -password=***** run DRM_MOVE Mountable Vault
To_Vault_Volumes.rep


DRM_MOVE

MOVE DRM * WHERESTATE=$1 SOURCE=DBBackup -
TOSTATE=$2 CMD=" Volume &VOL" -
CMDFILE=$3 -
Wait=Yes

Thanks
Noor(technicalUser)
 
Noor,

What kind of tape library are you using?
Manual or automated tape library?

What is the syntax of the checkout/chekin command that you are using?

- Sias
 
I would also like to know this, I am using a simple:

CHECKOUT LIBVOLUME LB0.1.0.2 A00004L2 CHECKLABEL=YES REMOVE=BULK FORCE=YES

To check a tape out, though am not too sure if I have to use the reply thing, I've a funny feeling the FORCE=YES means I dont have to use replys
 
With the move drm command rather than using remove=bulk
use remove=Untileefull.

This parameter was introduce at TSM Server 3.7.


This is what the force does.

FORCE
Specifies whether the server checks out a volume if an input/output (I/O) error occurs when reading the label.

Note:
This parameter does not apply to IBM 349X libraries.
This parameter is optional. The default is NO. Possible values are:

No
The server does not check out a storage volume if an I/O error occurs when reading the label.

Yes
The server checks out the storage volume even if an I/O error occurs.

If we use FORCE=YES its not going to stop the prompting.

REMOVE (for SCSI Library)

Yes
Specifies that a volume is placed into the bulk I/O station. The server deletes the volume entry from the server library inventory.

No
Specifies that a volume is not ejected. The server deletes the volume entry from the server library inventory and leaves the volume in the library for use by other applications.

Bulk
For SCSI libraries with multiple entry/exit ports, this specifies that the volume is ejected to the next available entry/exit port.
Note:
For SCSI libraries only, if REMOVE=BULK, the server indicates where the cartridge is located, but it does not require or request a REPLY command.

-Sias
 
Sias,
You are right, I just add remove=bulk and It is done
Thanks a lot
Noor
 
An other way is with the following command. It doesn't ask for a reply.

move drm * wherest=mountable tostate=vault remove=bulk s=dbs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top