Check out this article by Vikram Das about how to read OS environment variables using PL/SQL.
I did not know that!
NB! If you want to move to the "New World" - offload your data and workloads to Hadoop, without having to re-write your existing applications - check out Gluent. We are making history! ;-)