Script to set up reporting
cp /usr/local/sysdoc/dtrept.cron /usr/local/bin/dtrept.cron
chown dtuser.staff /usr/local/bin/dtrept.cron
chmod 750 /usr/local/bin/dtrept.cron
mkdir /home/dtuser/reports
chown dtuser.staff /home/dtuser/reports
chmod 700 /home/dtuser/reports
crfs -v jfs -g'datavg' -a size='800000' -m'/home/dtuser/reports' -A''` locale yesstr | awk -F: '{print $1}'`''
-p'rw' -t''`locale yesstr | awk -F: '{print $1}'`'' -a frag='4096' -a nbpi='4096' -a ag='8'
mount /home/dtuser/reports
mkdir Jan; mkdir Feb; mkdir Mar; mkdir Apr; mkdir May; mkdir Jun
mkdir Jul; mkdir Aug; mkdir Sep; mkdir Oct; mkdir Nov; mkdir Dec
chown -R dtuser.staff /home/dtuser/reports
chmod -R 700 /home/dtuser/reports
echo now go run /usr/local/bin/dtrept.cron
echo if it work then as dtuser do a crontab -e and add at 2357