Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

External trigger on DB2 V7.2 for Linux

Hi all, I'm new on DB2 external triggers  and external stored procedures, I have to implement a trigger that calls an external (C++) "program". Im current using DB2 7.2 on a Linux (Suse 9.0). Can anyone give a brief description on how can I implement that and also tell me if I can do that using this plataform I just mentioned ?
Im really  tied to the plataform so please restrict your comments to that. I read some documents about external triggers but Im not sure that it works on V7.1, I also read some paper about  external stored procedures and I think it should also work if I call the external SP from a "normal" trigger. Can anyone adivise me on that ?

Thanks a lot,

Jean Marrara
0
jmarrara
Asked:
jmarrara
1 Solution
 
Kent OlsenData Warehouse Architect / DBACommented:

DB2 supports stored procedures in C/C++.  You should be able to write the procedure in C and then tie it to a conventional trigger.  When the trigger fires, execute the C-based stored procedure.


Kent
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now