Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6057315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:28:29+00:00 2026-05-23T08:28:29+00:00

I had an issue with DBMS_SCHEDULER in oracle.I have an external programme(a perl script

  • 0

I had an issue with DBMS_SCHEDULER in oracle.I have an external programme(a perl script residing on the server on which oracle is running) which I want to run from my stored procedure based on certain condition.So for that I learned that an external program can be run by creating DBMS_SCHEDULER.create_program.So I did only that.Now the issue,I have a program object created in oracle and but I am unable to execute this object.I have been trying some thing like this to run this object:

EXECUTE MY_PROGRAM_OBJECT;

But every time I do this it is saying that object MY_PROGRAM_OBJECT is invalid(FYI…I can see this object using select * from ALL_OBJECTS).Now I sincerely think that there must be some other way to run this.unfortunately,I don’t seem to find any formal doc. for a running a crated Program object.Now can u plz advice me how it needs to be executed?Is it that for executing I have to create another job and point it from there,for which I dont see any rational.

P.S. I have got execute permission on DBMS_SCHEDULER.
All the help in this regard will be appreciated.

Lots of thanks,for taking out the time!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:28:30+00:00Added an answer on May 23, 2026 at 8:28 am

    You should create a job that uses the program you created. Something like:

    exec dbms_scheduler.create_job(
    job_name=>'JOB_RUN_MY_PROGRAM',
    program_name=>'PROG_RUN_MY_PROCEDURE',
    schedule_name=>'INTERVAL_EVERY_DAY',
    enabled=>true,
    auto_drop=>false,
    comments=>'This will run my scheduler program');
    

    Note that the schedule ‘INTERVAL_EVERY_DAY’ would need to be created via dbms_scheduler.create_schedule.

    To run or stop manually, you can use dbms_scheduler.run_job and dbms_scheduler.stop_job. Use dba_scheduler_jobs to view the status of the job you just created above.

    As for the rationale for creating programs, they help you to create more complex situations involving chains of jobs. You would define your chain steps to point to programs and define rules on how to proceed through the chain (running steps concurrently or sequentially in defined order).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running into an issue I had before; can't find my reference on
We have had an issue with a block of code that responds poorly in
A coworker of mine has had issue with Mootools being backward compatible and I
(Jeopardy-style question, I wish the answer had been online when I had this issue)
I've had a serious issue with my Visual Studio 2008 setup. I receive the
I've had this long term issue in not quite understanding how to implement a
I recently resolved an issue my VB6 application had when saving large binary objects
I know this isn't a unique issue but I've not had much luck finding
We have had issues with Mootools not being very backward compatible specifically in the
I upgraded from SQl server 05 to 08 and had a few issues. After

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.