[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: SQR generated e-mail from UNIX



Hi Kathy.

When the report is ready you should use the command NEW-REPORT '<some report
name>'.
This will cause your original report to complete and be saved to the
directory. Then the system will be able to find it.
I am sorry but I can not help with the second part


Robert Stojkovic
IO-consulting
robert.stojkovic@io-consulting .com

> -----Original Message-----
> From: Discussion of SQR, SQRIBE Technologies's database reporting
> language [mailto:SQR-USERS@list.iex.net]On Behalf Of Kathy Mason
> Sent: Tuesday, September 21, 1999 7:29 AM
> To: Multiple recipients of list SQR-USERS
> Subject: 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
>