[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
SQR generated e-mail from UNIX
I have searched the archives and with the help I found there I was able to
set-up an automatic e-mail generated by my SQR. However, I have 2 questions. I
have been able to write to a file close it in my SQR and then e-mail it or have
an SQR e-mail a .lis file generated by a previously run SQR. I cannot get the
.lis file e-mailed from the SQR in which it is created. The error message I get
is "cannot find or open the file" Can a .lis file be e-mailed from within the
SQR that creates it?
Second question, can I e-mail to more than one e-mail address in one command. I
am using the call system using command in Unix. I have been able to accomplish
it by repeating my code, but I thought perhaps there was a better way.
Here is a sample of my code:
let $command = 'mail kmason@gix-global.com < /usr/tmp/summary.dat'
call system using $command #unix_status
Any help you can give me would be appreciated.
Thanks,
Kathy