Hello, Apologies for the slightly off-topic listing, but I know there are several unix command gurus out there. (Bambi?)
Oracle 8.1.6 on Solaris 2.7. I am trying to execute an "rsh" command against another unix server; the actual command is rsh pnas1 chkpntmk oradata ckpt1 if [ "$?" != "0" ]; then... pnas1 is name of other server; chkpntmk is command, rest are args. As you can see, I am checking the $? parameter to test for success/failure of the command. However, I think this is the return code for the rsh command, not the chkptmk command which is executed on the other server. When the chkpnt command fails, I still receive a "0" indicating success, because rsh executed OK. Is there a way to check for the success/failure of the actual remote command when using rsh? Thnaks to any responders. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bill Becker INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
