Thanks much for all your insight and help.  It does appear that it
is an issue of having an older version of ksh93 on Blenny.  Now I 
have more evidence to tell my boss to retire that box. :)  If not,
then I can tell the Sys Admin to upgrade ksh93 to the latest.

As for getting the proper $? return code.  I am guessing that since
the sub-process successfully finished (regardless of any exit code
sqlplus may send) it will always be 0.  So I like idea of putting 
my code into a function, then grep -c for ORA-/PLS-/TNS-/... and 
then set a return code to the calling routine with the output on 
STDOUT or STDERR as needed.

Cheers
Eric


_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to