wscott30
asked on
OS command from Oracle database
I can’t get an OS script to execute on the server machine from Oracle 11.2 dbms_scheduler (which I should be able to do). Thanks!
Problem-Statement-OS-commmand.docx
Problem-Statement-OS-commmand.docx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cool, glad you figured it out. Thanks
ASKER
I figured it out after discussing with our DBAs. This problem can occur when using NAS mounts to different servers and you try to invoke code that is not mounted to the database server. The code must reside on the database server or DBMS_SCHEDULER cannot find it.
Thanks!
Thanks!
Instead you should set the job action to just "/usr/bin/ksh", set number_of_arguments to 1, enabled to FALSE, then call set_job_argument_value with "/NAS/ESG/apps/as/.bin/rem