A correspondent recently sent the PL/SQL team a small code example and reported surprise at the program's behavior. Once the example was stripped of superfluities, the behavior was easily explained because of a simple rule every PL/SQL programmer should know.The rule is
When a call terminates with an unhandled exception, the value of an actual argument associated with an out formal parameter becomes undefined.
This note shows the example code and provides a detailed explanation. I hope you will enjoy reading it.