If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Run a shell program from a sp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-06, 17:04
dbMemo dbMemo is offline
Registered User
 
Join Date: Aug 2006
Posts: 8
Run a shell program from a sp

Hi, Im trying to run a shell from a sp written in SQL, can anyone help me? I dont know how to do this.

Thanks for your help
Reply With Quote
  #2 (permalink)  
Old 08-18-06, 10:26
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You cannot do it directly. You will have to write a non-sql (Java, C, etc) SP that can call the shell. Then you SQL SP can call the other one, or you could call it directly if that is all you need to do.

HTH

Andy
Reply With Quote
  #3 (permalink)  
Old 08-22-06, 02:03
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
script

__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On