How can trap the oracle SQLCODE & SQLERRM codes into variables and access them as unix variables in a script.

TX, Alfred