ADSM-L

Re: Scripting Question

2001-09-04 12:29:04
Subject: Re: Scripting Question
From: Alex Paschal <AlexPaschal AT FREIGHTLINER DOT COM>
Date: Tue, 4 Sep 2001 09:30:25 -0700
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

<Prev in Thread] Current Thread [Next in Thread>