It depends.  If you're using shell script or perl, you can definitely query
process and parse the output.  A simple example in ksh could be:

while dsmadmc -id=adminid -pa=password q pr | grep -i migrat ; do
   sleep 300
done

Or, if you want to rely on TSM RC's, which I've found to be occassionally
problematic,

while dsmadmc -id=adminid -pa=password q pr ; do
   sleep 10
done

I hope this helps.

Alex

-----Original Message-----
From: Bruce Kamp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 8:57 AM
To: [EMAIL PROTECTED]
Subject: Scripting Question


On the part of my daily processing that I flush my disks to tape I am using
sleep commands.  Is there a way to set it up to query for the migration
processes & to go to the next disk pool when the current migration processes
are complete?  I'm running TSM 4.1.3.2 on AIX 4.3.3

Thanks,
--------------------------------------
Bruce Kamp
Network Analyst II
Memorial Healthcare System
P: (954)987-2020 x6008
F: (954)985-2274
E: [EMAIL PROTECTED]
----------------------------------------

"WorldSecure <Freightliner.com>" made the following
 annotations on 09/04/01 09:17:16
------------------------------------------------------------------------------

[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