DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Dbms_job Packages Errors

  1. #1
    Join Date
    Jan 2005
    Posts
    221

    Dbms_job Packages Errors

    Hi all,

    I have package A and in B,C is the procedure inside of the package.

    I have never done schedule a package in dbms_jobs before, below is what I have in mind

    var x number
    begin
    dbms_job.submit(:x, 'begin A.B; end;',TRUNC(sysdate)+22/24, 'TRUNC(sysdate)+1+22/24');
    commit;
    end;
    /


    it doens't work b/c I think I don't have the second proc

    thanks,

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    define 'doesnt work'

    and also you dont need the begin and end, just a.b

  3. #3
    Join Date
    Jan 2005
    Posts
    221
    where can I put the C procedure??? as you see, I only have A for package and B for the first procedure, where can I put the C ???

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    what about c? what do you want to do with it

  5. #5
    Join Date
    Jan 2005
    Posts
    221
    since the package A had B,C procedure. I figured I need to have B,C procedure on dbms_job, right??? I don't know how.

  6. #6
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    what?????? that makes no sense, just run what you want to run

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width