mksysb script




I want to schedule my mksysb's to run afterhours now but I'm not sure how to properly capture the output to a log file.
Does anybody have a script they use?
I generally run a ksh file that just runs:
mksysb -i /dev/rmt0
tctl -f /dev/rmt0 offline

but if someone has something that logs the result and mails success or failure that would be great.

Mark



<html><body><font face = "arial" size = "1">
DISCLAIMER: The information transmitted is intended only
for the addressee and may contain confidential,
proprietary and/or privileged material. Any
unauthorized review, distribution or other use
of or the taking of any action in reliance upon
this information is prohibited. If you received
this in error, please contact the sender and
delete or destroy this message and any copies.
</font><body></html>

Relevant Pages