does anyone have a typical Korn shell script which will do a UDB backup (one tablespace) and upon sucessful completion do a reorg and upon successful completion of the reorg do a runstats ? The script can include anything else you think is appropriate.

Much appreciated, thanks