Procedure calling.

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
karry450
Participant
Posts: 201
Joined: Wed Nov 14, 2007 11:31 pm
Location: HYD

Procedure calling.

Post by karry450 »

Hi Friends,


I am writing flat file to oracle using Bul Loader in DS , I want to call a procedure with date parameters after the load happens.

But the bulk loader doesnt seem to have any option to call after SQL.

Could any one please suggest me

Thanks
Karthik
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

(1) Create a separate job to call stored procedure and place that job after your oracle bulk load job in a job sequence and then run the job sequence.

(2) Create a script to call the procedure and use that script in after job sub-routine of oralce bulk load job.

HTH
Arvind
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: Procedure calling.

Post by Pagadrai »

Hi Karthik,

One more Option to what is mentioned above:-
You can write a server routine and call it in after job Subroutine.
Here you can also specify to execute it only of the job finishes successfully.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

karry450 wrote:I am writing flat file to oracle using Bul Loader
Ah, yes, so many projects end up using a Bul Loader.
:lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply