The un-kludgey way is to put in dsm.sys:

postschedulecmd  /pathname/scriptname.sh

That will run any type of command you want, but you don't get any reliable
SUCCESS/FAIL indicator beforehand.

The other choice is to change your client schedule from ACTION=INCREMENTAL
to ACTION=CMD, and define the OBJECT to be /pathname/scriptname, and put the
dsmc command in the script to be followed by whatever else you want done.




-----Original Message-----
From: Kliewer, Vern [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Execute OS or TSM command on completion of client schedule


I am running 4.2.2.1 AIX clients with a 4.1.3 AIX server.

If I want to execute an OS level command on a client or a TSM command on
completion of a server scheduled client backup, do I have to run the backup
from inside a macro or command script and fire off an immediate action
schedule for the client at the end of it? Or even make the schedule be an
immediate action schedule that fires off a client OS level script which
starts with the backup and then does what I need at the end? This sort of
thing gets really cludgy.

I really need an event trigger. Preferably with a SUCCESS/FAIL indicator
associated with it.

Reply via email to