automated checkout libvol

muki

ADSM.ORG Member
Joined
Jun 20, 2003
Messages
18
Reaction score
0
Points
0
Hello

I am looking for automated script/schedule which will checkout my filling/full vols.

The scripts should also reply to the REQUEST ID .(3584 lto library) and TSM at WIN2K .

Many thanks

[email protected]

:confused: [email protected]
 
Hi muki,



I don't understand your need to REPLY to any requests when checking out libvolumes.



For sequential checkout of volumes, you could use the following statements in an ".bat"-File:





@ change directory

cd <your baclient-dir>



@ Get labels of volumes to check out and redirect to file

dsmadmc -id=<id> -password=<pwd> select volume_name from volumes where status='FULL' or status='FILLING' > volumelabels



@ read file and loop for every label, skip first 3 lines (header information)

for /F "skip=3" %%i in (volumelabels) do dsmadmc -id=<id> -password=<pwd> checkout libvol <library_name> %%i remove=bulk



@ tidy up

del volumelabels





Hope this works...

Egad
 
Back
Top