Yep, I reached that conclusion. It has been pointed out to me that this does not work because the job is being executed in a background process and this context is only set for client connections. Thanks Pete ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- //www.freelists.org/webpage/oracle-l