niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » IBM DB2
DBMS_JOB equivalent?
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Prakash
*nix forums beginner


Joined: 22 Jun 2005
Posts: 3

PostPosted: Tue Feb 22, 2005 4:43 pm    Post subject: DBMS_JOB equivalent? Reply with quote

hi:

I am writting a stored procedure to purge one of our transaction
tables. I would like to run this SP periodically, say everyday at 4 am.
I am wondering how can I achieve this without writting a OS cron job. I
know Oracle has the feature DBMS_JOB, but wondering whether is there
any equivalent in DB2 or any other ways to do

Thanks for your help

- Prakash
Back to top
Christos Kalantzis
*nix forums beginner


Joined: 02 Jun 2005
Posts: 18

PostPosted: Tue Feb 22, 2005 5:17 pm    Post subject: Re: DBMS_JOB equivalent? Reply with quote

Hi,


Yes there is. There is a job/task scheduler within DB2. I believe you
might have to install the DAS to activate it...or not....

However there is a job/task scheduler.


Christos Kalantzis




Prakash wrote:
Quote:
hi:

I am writting a stored procedure to purge one of our transaction
tables. I would like to run this SP periodically, say everyday at 4 am.
I am wondering how can I achieve this without writting a OS cron job. I
know Oracle has the feature DBMS_JOB, but wondering whether is there
any equivalent in DB2 or any other ways to do

Thanks for your help

- Prakash
Back to top
Pierre Saint-Jacques
*nix forums Guru Wannabe


Joined: 29 May 2005
Posts: 217

PostPosted: Tue Feb 22, 2005 8:23 pm    Post subject: Re: DBMS_JOB equivalent? Reply with quote

You can use whatever script language you want.
Save it in a file.
Use the Graphic Tools, open the Task Center, in the Action Bar choose
task,import and import the script you saved.
As you exit the Task Center, the kast screen will ask you whtehr you
want to run this now or save and schedule.
Do what you need to do from there.
This can be done on your wkstn. and you do not have to be on the server.
However, the DAS must be up and running and you must have defined the
Tools Catalog.
HTH, Pierre

Prakash wrote:
Quote:
hi:

I am writting a stored procedure to purge one of our transaction
tables. I would like to run this SP periodically, say everyday at 4 am.
I am wondering how can I achieve this without writting a OS cron job. I
know Oracle has the feature DBMS_JOB, but wondering whether is there
any equivalent in DB2 or any other ways to do

Thanks for your help

- Prakash


--
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.
Back to top
Prakash
*nix forums beginner


Joined: 22 Jun 2005
Posts: 3

PostPosted: Tue Feb 22, 2005 8:33 pm    Post subject: Re: DBMS_JOB equivalent? Reply with quote

Great.

Thanks for your help.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 2:17 am | All times are GMT
navigation Forum index » Databases » IBM DB2
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts equivalent of MAIL>SET FORWARD/USER=ME YOU on unix VAXman-@SendSpamHere.ORG VMS 4 Thu Jul 20, 2006 7:56 pm
No new posts equivalent to .qmail for outgoing? Bill Gradwohl Qmail 1 Thu Jul 20, 2006 3:37 pm
No new posts Possible to do the equivalent of dlopen with an executabl... Kenny McCormack Solaris 14 Wed Jul 19, 2006 5:09 pm
No new posts Perl equivalent of this script? george.varsamopoulos@gmai Perl 7 Sun Jul 16, 2006 2:38 pm
No new posts FAQ 4.68 How can I make the Perl equivalent of a C struct... PerlFAQ Server Perl 0 Thu Jul 06, 2006 1:03 am

Credit Card | Free Advertising | Debt Consolidation | Debt Consolidation | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3324s ][ Queries: 16 (0.1830s) ][ GZIP on - Debug on ]