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

Re: Emailing from SQR



The following is code similar to what you need that we use on our Unix platform.  It can just as easily call a shell script to send email--we also do that!

Hope this helps!

*********************************
Begin-Procedure ftp-Files

! Unix shell to perform FTP with fully qualified path
let $exe_path = getenv('PS_HOME') || '/bin/rp236bn.ksh'

show ' '
show 'Command line: ' $exe_path

call system using $exe_path #com_status
show 'Status ' #com_status

End-Procedure  ftp-Files
**********************************

Benton R. Burroughs
Programmer Analyst, Philips PACE
benton.r.burroughs@philips.com
561/776-3218 Voice