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 > FTP using DB2 SQL SProc!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-06, 00:20
kingp kingp is offline
Registered User
 
Join Date: Dec 2006
Posts: 10
FTP using DB2 SQL SProc!!

HI all,
Wanted to ask if there is any way to do FTP using DB2 SQL stored procedures.As we can perfrom this FTP using oracle stored procedures.IS there any equivalent procedure to do it in DB2?
Suggestions wud be appreciated
Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-13-06, 09:36
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You do not mention which version od DB2 or OS you are using. In DB2 for LUW, there is no procedure for doing this. You would have to write your own using a programming language like C or Java.

Andy
Reply With Quote
  #3 (permalink)  
Old 12-14-06, 00:26
kingp kingp is offline
Registered User
 
Join Date: Dec 2006
Posts: 10
HI andy
thanks for your reply.I am using db2 v8.1.12 windows.hope this helps....is thr any sample prog or code which I could look at for this equivalent FTP function..
thnx again
Pranay.
Reply With Quote
  #4 (permalink)  
Old 12-14-06, 08:01
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Sample code is located at c:\program files\ibm\sqllib\samples.

I do not know if there is any that have FTP in them. That is something you are going to have to write.

Andy
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