Are you executing shell as well as sqlplus with same user account or different users?
Jayg Fun Programming with Oracle & Visual C++, Author of www.lightsql.com.
Forum Rules