Still trying to pass a return code from PL/SQL to K Shell.
Posted on 2005-04-18
I posted this a few years ago and got a reply that worked for that situaion, but I have a slightly different sitaution now and am struggling mightily.
I have the following logic in my pl/sql code:
IF precount_revenue = midcount_revenue AND
precount_revenue = endcount_revenue then
WHEN A then
WHEN B then
But when I execute the following in K shell:
a "0" is always echo'd.
How to I get RC (back in the K Shell script) to "see" the value placed in RC in the PL/SQL script?
Thanks very much for looking into this...I appreciate it.