Write a small script that will fire the tabanalys and output it to a .txt file.
Once the process is complete just send it through mail
cat tab.txt | mailx -s "TAB Report" <receiver mail id >
If you're running UNIX "cat" is a very basic command. You usually learn about it in day 1 of your UNIX command line class. "man cat" will tell you all about it
If you're not running UNIX you're missing the idea that you should tell us what OS and what version of Progress you're running so that we can provide more useful responses. Windows doesn't have nice simple commands like "mailx" either.
Write a small script that will fire the tabanalys and output it to a .txt file.
Once the process is complete just send it through mail
cat tab.txt | mailx -s "TAB Report" <receiver mail id >
I am not a huge fan of using cat within my mailx commands. May be a personal preference. However, it could save a byte or 2
If you use aliases, which I love to use, I hate hardcoding scripts with email addresses
edit the /etc/mail/aliases file (may need to be root if your directory permissions are correct).
add a line with something like - dba:dba@company.com
save the file
run /usr/sbin/newaliases
If you intend to do this within a script and run it in the future, I have found this a helpful practice.
If the person receiving the scripts is let go, you just need to change how the alias is referenced - dba:newdba@company.com - and follow the same steps to instantiate the alias.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.