Solved

Using a trigger to call ksh script?

Posted on 2007-03-29
4
348 Views
Last Modified: 2008-02-01
Is there an easy way for to have a trigger call a unix ksh script?  I'd like this to happen when new data is "insert"ed in my table.  (Happens once in a blue moon...)
0
Comment
Question by:bganoush
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
Lowfatspread earned 500 total points
ID: 18819542
which version of udb?

not unless you write the trigger in a language liek c or java and can invoke the script that way...

what does the ksh script do?
0
 

Author Comment

by:bganoush
ID: 18819557

It calls a C program...

but nevermind I found another solution on here where I can use "xp_cmdshell" to run the script... that works too...

0
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 18819672
? XP_CMDSHELL IN db2!
0
 

Author Comment

by:bganoush
ID: 18824289

Welll... that's what people are telling me.... ARRRGHH!!!
0

Featured Post

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question