[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Followup: How to run a shell script with in sqr and check status
- Subject: Re: Followup: How to run a shell script with in sqr and check status
- From: Bob Buford <bbuford@CCCI.ORG>
- Date: Mon, 11 Jan 1999 11:56:52 -0500
Hi,
You would use CALL SYSTEM USING <ftp script> <args> in the start-ftp procedure. I'll leave details on implementing the ftp script to more experienced types. The SQR CALL ...USING command would be your tool to execute the script.
Bob
>>> Venugopala R vatti <Venuv999@AOL.COM> 01/08 7:52 PM >>>
Thanks for your reply Les Hancock.
But what I am looking for is run shell script WITH IN THE SQR and check the
status
...
xxxx.SQR
begin report
do Verify-amounts
start ftp
check success
based on return value of FTP set #return-status -- (Pre-defined variable)
end-report
thanks for any help