Solved

Using a trigger to call ksh script?

Posted on 2007-03-29
4
332 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
  • 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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 (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now