ORA-24909: call in progress. Current operation cancelled
Cause : The OCI call was invoked when another call on the connection was in progress.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Check if the OCI call is supported when the call is in progress under special conditions; for example, if it is being used by a signal handler. NLS_DO_NOT_TRANSLATE [24910,24910]
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.