Solved

Using a trigger to call ksh script?

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 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