PL/SQL (MOSC)

MOSC Banner

Adding JOb

edited May 11, 2012 9:52AM in PL/SQL (MOSC) 5 commentsAnswered
Hi,

To execute a procedure I write in SQL *PLus : exec slr_updplcrecipes_pcr(P_PROCESS_CELL => 'Forming')

This works.

Now I've create a procedure for adding jobs with text:

dbms_job.isubmit(2, 'slr_updplcrecipes_pcr(' || chr(39) || P_PROCESS_CELL => 'Forming' || chr(39) || ');', to_date('9-may-2012 10:00','dd-Mon-yyyy hh24:mi'), 'trunc(sysdate+(30/24/60), ''MI'')');  

And this is not correct. I've tried several inputs, but i get a compile error or it doesn't work.

Can anyone help me with the right syntax?

Thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center