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 > list db directory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-12, 12:42
db2link db2link is offline
Registered User
 
Join Date: Jan 2008
Posts: 13
Cool list db directory

Hello, I am using db2 v9.7.2 on windows server 2003

is there a way to get list db directory info remotely?
Reply With Quote
  #2 (permalink)  
Old 01-03-12, 13:21
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
There are no DB2 commands that can do this.

Andy
Reply With Quote
  #3 (permalink)  
Old 01-04-12, 10:34
db2link db2link is offline
Registered User
 
Join Date: Jan 2008
Posts: 13
Cool

yes I am aware that there are no commands for it, but there must some system views or tables that keep this information
Reply With Quote
  #4 (permalink)  
Old 01-04-12, 11:28
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Well there is a file, but it is not human readable.

Andy
Reply With Quote
  #5 (permalink)  
Old 01-04-12, 12:06
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
There is an API you can use once you (or your application) are attached to the DB2 instance. I'm not sure if a table function/view exists, that wraps the API call. If it isn't there, you can implement it yourself.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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