[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: How to run a shell script with in sqr and check status
- Subject: Re: How to run a shell script with in sqr and check status
- From: Les Hancock <les_hanc@YAHOO.COM>
- Date: Wed, 6 Jan 1999 13:26:54 -0800
In SQR, set #return-status -- (Pre-defined variable) -- "Value to be
returned to the operating system when SQR exits". Set this just
before SQR ends.
Then let UNIX script act appropriately based on value of return code.
---Venugopala R vatti <Venuv999@AOL.COM> wrote:
>
> As a part of our pay cycle we need to FTP check file after verifying
amounts.
> Currently one sqr(chverify.sqr) verifyes check totals. Based on the
success
> of this sqr(chverify.sqr), check file will be manually sent to file
print
> server. Is there any way to run this FTP shell script with in the
> sqr(chverify.sqr) and check the status of FTP.
>
> Thanks for any help.
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com