If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to schedule jobs using a stored procedure?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-04, 22:44
siraj_java siraj_java is offline
Registered User
 
Join Date: Dec 2003
Location: Bangalore
Posts: 4
How to schedule jobs using a stored procedure?

I wanted to know how jobs can be scheduled in DB2 using the DB2 stored procedures. DB2 has GUIs to do that - But I want to them do them through SQL stored procedure. What I want to do is to write a stored procedure which takes two parameters - job name and time interval and runs the specified job according the specified time interval. For example, we want to run certain stored procedures once in 24 days. In Oracle, we have a package called DBMS_JOB which helps us do that. I have searched on the Internet and DB2 reference PDFs that I have and couldn't find anything useful. Could you please give me any pointers about how to solve this problem?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On