3

Can anyone please suggest a way to invoke an Oracle stored procedure from a shell script without the use of SQL*Plus, or any such client for that matter. The inability to install clients is a limitation of the server that I work on.

I have to schedule an Autosys script to invoke the job which invokes the Oracle stored procedure. Can you please suggest in what direction should I proceed?

1
  • Java and jdbc have been suggested by @ik_zelf. Similarly, if you have Perl, Ruby, Python or similar scripting languages with a built-in database facility you may be able to get to your database. Commented Jun 6, 2012 at 2:37

2 Answers 2

3

You could do this using Java and jdbc. If you can not even copy the thin jdbc driver, I see no other option than to schedule the job in Oracle Using Oracle Scheduler.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks. I think I Oracle scheduler seems the only option for me.
0

Without client software installed, you'll have a hard time getting to Oracle from a shell script; however, Oracle has it's own batch facility--see Database jobs here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.